Home
last modified time | relevance | path

Searched refs:SectName (Results 1 – 14 of 14) sorted by relevance

/external/llvm-project/llvm/tools/llvm-objcopy/MachO/
DObject.h60 Section(StringRef SegName, StringRef SectName) in Section()
61 : Segname(std::string(SegName)), Sectname(std::string(SectName)), in Section()
62 CanonicalName((Twine(SegName) + Twine(',') + SectName).str()) {} in Section()
64 Section(StringRef SegName, StringRef SectName, StringRef Content) in Section()
65 : Segname(std::string(SegName)), Sectname(std::string(SectName)), in Section()
66 CanonicalName((Twine(SegName) + Twine(',') + SectName).str()), in Section()
DMachOReader.cpp33 StringRef SectName(Sec.sectname, strnlen(Sec.sectname, sizeof(Sec.sectname))); in constructSectionCommon() local
34 Section S(SegName, SectName); in constructSectionCommon()
/external/llvm-project/llvm/lib/ExecutionEngine/JITLink/
DMachOLinkGraphBuilder.cpp124 memcpy(&NSec.SectName, &Sec64.sectname, 16); in createNormalizedSections()
125 NSec.SectName[16] = '\0'; in createNormalizedSections()
137 memcpy(&NSec.SectName, &Sec32.sectname, 16); in createNormalizedSections()
138 NSec.SectName[16] = '\0'; in createNormalizedSections()
217 Cur.SectName, Cur.Address, Cur.Address + Cur.Size) + in createNormalizedSections()
218 "overlaps section \"" + Next.SegName + "/" + Next.SectName + "\"" + in createNormalizedSections()
220 Next.SectName, Next.Address, Next.Address + Next.Size)); in createNormalizedSections()
298 << NSec->SectName in createNormalizedSymbols()
397 dbgs() << " " << NSec.SegName << "/" << NSec.SectName in graphifyRegularSymbols()
DMachOLinkGraphBuilder.h72 char SectName[17];
DMachO_arm64.cpp206 << NSec.SegName << "/" << NSec.SectName in addRelocations()
229 dbgs() << " " << NSec.SectName << " + " in addRelocations()
DMachO_x86_64.cpp208 << NSec.SegName << "/" << NSec.SectName in addRelocations()
232 dbgs() << " " << NSec.SectName << " + " in addRelocations()
/external/llvm/lib/Object/
DObjectFile.cpp62 StringRef SectName; in isSectionBitcode() local
63 if (!getSectionName(Sec, SectName)) in isSectionBitcode()
64 return SectName == ".llvmbc"; in isSectionBitcode()
DMachOObjectFile.cpp711 StringRef SectName; in isSectionBitcode() local
712 if (!getSectionName(Sec, SectName)) in isSectionBitcode()
713 return (SegmentName == "__LLVM" && SectName == "__bitcode"); in isSectionBitcode()
/external/llvm-project/llvm/lib/DebugInfo/GSYM/
DObjectFileTransformer.cpp40 StringRef SectName(*SectNameOrErr); in getUUID() local
41 if (SectName != GNUBuildID) in getUUID()
/external/llvm/tools/llvm-objdump/
DMachODump.cpp313 StringRef SectName; in getSectionsAndSymbols() local
314 Section.getName(SectName); in getSectionsAndSymbols()
896 StringRef SectName; in DumpLiteralPointerSection() local
897 Sect->getName(SectName); in DumpLiteralPointerSection()
900 outs() << SegmentName << ":" << SectName << ":"; in DumpLiteralPointerSection()
1077 StringRef SectName; in DumpSectionContents() local
1078 Section.getName(SectName); in DumpSectionContents()
1082 (SectName == DumpSectName)) { in DumpSectionContents()
1101 outs() << "Contents of (" << SegName << "," << SectName in DumpSectionContents()
1107 DisassembleMachO(Filename, O, SegName, SectName); in DumpSectionContents()
[all …]
/external/llvm-project/llvm/tools/llvm-objdump/
DMachODump.cpp1524 StringRef SectName; in DumpLiteralPointerSection() local
1527 SectName = *SectNameOrErr; in DumpLiteralPointerSection()
1533 outs() << SegmentName << ":" << SectName << ":"; in DumpLiteralPointerSection()
1741 StringRef SectName; in DumpSectionContents() local
1744 SectName = *SecNameOrErr; in DumpSectionContents()
1754 (SectName == DumpSectName)) { in DumpSectionContents()
1774 outs() << "Contents of (" << SegName << "," << SectName in DumpSectionContents()
1780 DisassembleMachO(Filename, O, SegName, SectName); in DumpSectionContents()
1783 if (SegName == "__TEXT" && SectName == "__info_plist") { in DumpSectionContents()
1787 if (SegName == "__OBJC" && SectName == "__protocol") { in DumpSectionContents()
[all …]
/external/llvm-project/llvm/lib/ObjectYAML/
DMachOEmitter.cpp289 StringRef SectName(Sec.sectname, in writeSectionData() local
293 if (Obj.DWARF.getNonEmptySectionNames().count(SectName.substr(2))) { in writeSectionData()
296 "cannot specify section '" + SectName + in writeSectionData()
299 auto EmitFunc = DWARFYAML::getDWARFEmitterByName(SectName.substr(2)); in writeSectionData()
/external/llvm-project/llvm/lib/ProfileData/
DInstrProf.cpp172 std::string SectName; in getInstrProfSectionName() local
175 SectName = InstrProfSectNamePrefix[IPSK]; in getInstrProfSectionName()
178 SectName += InstrProfSectNameCoff[IPSK]; in getInstrProfSectionName()
180 SectName += InstrProfSectNameCommon[IPSK]; in getInstrProfSectionName()
183 SectName += ",regular,live_support"; in getInstrProfSectionName()
185 return SectName; in getInstrProfSectionName()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/
DInstrProf.cpp168 std::string SectName; in getInstrProfSectionName() local
171 SectName = InstrProfSectNamePrefix[IPSK]; in getInstrProfSectionName()
174 SectName += InstrProfSectNameCoff[IPSK]; in getInstrProfSectionName()
176 SectName += InstrProfSectNameCommon[IPSK]; in getInstrProfSectionName()
179 SectName += ",regular,live_support"; in getInstrProfSectionName()
181 return SectName; in getInstrProfSectionName()