Lines Matching defs:SecName
408 BTFKindDataSec::BTFKindDataSec(AsmPrinter *AsmPrt, std::string SecName)
409 : Asm(AsmPrt), Name(SecName) {
1340 // . SecName:
1403 StringRef SecName;
1410 SecName = Global.hasSection() ? Global.getSection() : "";
1412 SecName = ".bss";
1416 SecName = Sec->getName();
1419 if (ProcessingMapDef != SecName.starts_with(".maps"))
1425 if (SecName == ".rodata" && Global.hasPrivateLinkage() &&
1426 DataSecEntries.find(std::string(SecName)) == DataSecEntries.end()) {
1429 DataSecEntries[std::string(SecName)] =
1430 std::make_unique<BTFKindDataSec>(Asm, std::string(SecName));
1445 if (SecName.starts_with(".maps"))
1482 // An empty SecName means an extern variable without section attribute.
1483 if (SecName.empty())
1487 if (DataSecEntries.find(std::string(SecName)) == DataSecEntries.end()) {
1488 DataSecEntries[std::string(SecName)] =
1489 std::make_unique<BTFKindDataSec>(Asm, std::string(SecName));
1496 DataSecEntries[std::string(SecName)]->addDataSecEntry(VarId,
1595 StringRef SecName = F->getSection();
1597 if (DataSecEntries.find(std::string(SecName)) == DataSecEntries.end()) {
1598 DataSecEntries[std::string(SecName)] =
1599 std::make_unique<BTFKindDataSec>(Asm, std::string(SecName));
1603 DataSecEntries[std::string(SecName)]->addDataSecEntry(FuncId,