Lines Matching refs:Section
22 using SectionPred = std::function<bool(const Section &Sec)>;
24 static bool isDebugSection(const Section &Sec) {
28 static bool isLinkerSection(const Section &Sec) {
32 static bool isNameSection(const Section &Sec) { return Sec.Name == "name"; }
36 static bool isCommentSection(const Section &Sec) {
42 for (const Section &Sec : Obj.Sections) {
61 SectionPred RemovePred = [](const Section &) { return false; };
65 RemovePred = [&Config](const Section &Sec) {
71 RemovePred = [RemovePred](const Section &Sec) {
77 RemovePred = [RemovePred](const Section &Sec) {
84 RemovePred = [&Config](const Section &Sec) {
92 RemovePred = [&Config](const Section &Sec) {
100 RemovePred = [&Config, RemovePred](const Section &Sec) {
125 Section Sec;