Lines Matching refs:SecName
352 BTFKindDataSec::BTFKindDataSec(AsmPrinter *AsmPrt, std::string SecName) in BTFKindDataSec() argument
353 : Asm(AsmPrt), Name(SecName) { in BTFKindDataSec()
1115 StringRef SecName; in processGlobals() local
1117 SecName = Global.getSection(); in processGlobals()
1121 SecName = ".rodata"; in processGlobals()
1123 SecName = Global.getInitializer()->isZeroValue() ? ".bss" : ".data"; in processGlobals()
1127 SecName = ".extern"; in processGlobals()
1130 if (ProcessingMapDef != SecName.startswith(".maps")) in processGlobals()
1136 if (SecName == ".rodata" && Global.hasPrivateLinkage() && in processGlobals()
1137 DataSecEntries.find(std::string(SecName)) == DataSecEntries.end()) { in processGlobals()
1142 DataSecEntries[std::string(SecName)] = in processGlobals()
1143 std::make_unique<BTFKindDataSec>(Asm, std::string(SecName)); in processGlobals()
1156 if (SecName.startswith(".maps")) in processGlobals()
1190 assert(!SecName.empty()); in processGlobals()
1193 if (DataSecEntries.find(std::string(SecName)) == DataSecEntries.end()) { in processGlobals()
1194 DataSecEntries[std::string(SecName)] = in processGlobals()
1195 std::make_unique<BTFKindDataSec>(Asm, std::string(SecName)); in processGlobals()
1202 DataSecEntries[std::string(SecName)]->addVar(VarId, Asm->getSymbol(&Global), in processGlobals()