Home
last modified time | relevance | path

Searched refs:SecName (Results 1 – 25 of 53) sorted by relevance

123

/external/llvm/test/MC/COFF/
Dsection-comdat.s17 .section SecName, "dr", same_size, "Symbol3"
22 .section SecName, "dr", same_contents, "Symbol4"
27 .section SecName, "dr", associative, "assocSym"
32 .section SecName, "dr", largest, "Symbol6"
37 .section SecName, "dr", newest, "Symbol7"
/external/llvm-project/llvm/tools/llvm-objcopy/wasm/
DWasmObjcopy.cpp23 static Error dumpSectionToFile(StringRef SecName, StringRef Filename, in dumpSectionToFile() argument
26 if (Sec.Name == SecName) { in dumpSectionToFile()
40 SecName.str().c_str()); in dumpSectionToFile()
45 StringRef SecName; in handleArgs() local
47 std::tie(SecName, FileName) = Flag.split("="); in handleArgs()
48 if (Error E = dumpSectionToFile(SecName, FileName, Obj)) in handleArgs()
59 StringRef SecName, FileName; in handleArgs() local
60 std::tie(SecName, FileName) = Flag.split("="); in handleArgs()
67 Sec.Name = SecName; in handleArgs()
/external/llvm-project/llvm/test/MC/COFF/
Dsection-comdat.s19 .section SecName, "dr", same_size, "Symbol3"
24 .section SecName, "dr", same_contents, "Symbol4"
29 .section SecName, "dr", associative, "assocSym"
34 .section SecName, "dr", largest, "Symbol6"
39 .section SecName, "dr", newest, "Symbol7"
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMCMachOStreamer.cpp126 StringRef SecName = MSec.getSectionName(); in canGoAfterDWARF() local
128 if (SegName == "__LD" && SecName == "__compact_unwind") in canGoAfterDWARF()
132 if (SecName == "__jump_table") in canGoAfterDWARF()
135 if (SecName == "__pointers") in canGoAfterDWARF()
139 if (SegName == "__TEXT" && SecName == "__eh_frame") in canGoAfterDWARF()
142 if (SegName == "__DATA" && (SecName == "__nl_symbol_ptr" || in canGoAfterDWARF()
143 SecName == "__thread_ptr")) in canGoAfterDWARF()
/external/llvm-project/llvm/tools/obj2yaml/
Dmacho2yaml.cpp134 static Error dumpDebugSection(StringRef SecName, DWARFContext &DCtx, in dumpDebugSection() argument
136 if (SecName == "__debug_abbrev") { in dumpDebugSection()
140 if (SecName == "__debug_aranges") in dumpDebugSection()
142 if (SecName == "__debug_info") { in dumpDebugSection()
146 if (SecName == "__debug_line") { in dumpDebugSection()
150 if (SecName.startswith("__debug_pub")) { in dumpDebugSection()
155 if (SecName == "__debug_ranges") in dumpDebugSection()
157 if (SecName == "__debug_str") in dumpDebugSection()
160 "dumping " + SecName + " section is not supported"); in dumpDebugSection()
178 StringRef SecName(S->sectname); in extractSections() local
[all …]
/external/llvm-project/llvm/lib/MC/
DMCMachOStreamer.cpp126 StringRef SecName = MSec.getName(); in canGoAfterDWARF() local
128 if (SegName == "__LD" && SecName == "__compact_unwind") in canGoAfterDWARF()
132 if (SecName == "__jump_table") in canGoAfterDWARF()
135 if (SecName == "__pointers") in canGoAfterDWARF()
139 if (SegName == "__TEXT" && SecName == "__eh_frame") in canGoAfterDWARF()
142 if (SegName == "__DATA" && (SecName == "__nl_symbol_ptr" || in canGoAfterDWARF()
143 SecName == "__thread_ptr")) in canGoAfterDWARF()
/external/llvm-project/llvm/lib/Target/BPF/
DBTFDebug.cpp352 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()
[all …]
/external/llvm/lib/MC/
DMCMachOStreamer.cpp129 StringRef SecName = MSec.getSectionName(); in canGoAfterDWARF() local
131 if (SegName == "__LD" && SecName == "__compact_unwind") in canGoAfterDWARF()
135 if (SecName == "__jump_table") in canGoAfterDWARF()
138 if (SecName == "__pointers") in canGoAfterDWARF()
142 if (SegName == "__TEXT" && SecName == "__eh_frame") in canGoAfterDWARF()
145 if (SegName == "__DATA" && SecName == "__nl_symbol_ptr") in canGoAfterDWARF()
/external/llvm-project/llvm/tools/llvm-objcopy/MachO/
DMachOObjcopy.cpp250 static Error dumpSectionToFile(StringRef SecName, StringRef Filename, in dumpSectionToFile() argument
254 if (Sec->CanonicalName == SecName) { in dumpSectionToFile()
269 SecName.str().c_str()); in dumpSectionToFile()
272 static Error addSection(StringRef SecName, StringRef Filename, Object &Obj) { in addSection() argument
279 std::pair<StringRef, StringRef> Pair = SecName.split(','); in addSection()
374 StringRef SecName = SecPair.first; in handleArgs() local
376 if (Error E = isValidMachOCannonicalName(SecName)) in handleArgs()
378 if (Error E = addSection(SecName, File, Obj)) in handleArgs()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/
DBTFDebug.cpp346 BTFKindDataSec::BTFKindDataSec(AsmPrinter *AsmPrt, std::string SecName) in BTFKindDataSec() argument
347 : Asm(AsmPrt), Name(SecName) { in BTFKindDataSec()
1058 StringRef SecName; in processGlobals() local
1060 SecName = Global.getSection(); in processGlobals()
1064 SecName = ".rodata"; in processGlobals()
1066 SecName = Global.getInitializer()->isZeroValue() ? ".bss" : ".data"; in processGlobals()
1070 SecName = ".extern"; in processGlobals()
1073 if (ProcessingMapDef != SecName.startswith(".maps")) in processGlobals()
1085 if (SecName.startswith(".maps")) in processGlobals()
1119 assert(!SecName.empty()); in processGlobals()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/
DELFEmitter.cpp144 StringRef SecName, ELFYAML::Section *YAMLSec);
260 for (StringRef SecName : ImplicitSections) { in ELFState() local
261 if (DocSections.count(SecName)) in ELFState()
266 Sec->Name = SecName; in ELFState()
372 Elf_Shdr &Header, StringRef SecName, in initImplicitHeader() argument
378 if (SecName == ".symtab") in initImplicitHeader()
380 else if (SecName == ".strtab") in initImplicitHeader()
381 initStrtabSectionHeader(Header, SecName, DotStrtab, CBA, YAMLSec); in initImplicitHeader()
382 else if (SecName == ".shstrtab") in initImplicitHeader()
383 initStrtabSectionHeader(Header, SecName, DotShStrtab, CBA, YAMLSec); in initImplicitHeader()
[all …]
DWasmEmitter.cpp552 StringRef SecName = ""; in writeWasm() local
554 SecName = S->Name; in writeWasm()
555 if (!Checker.isValidSectionOrder(Sec->Type, SecName)) { in writeWasm()
/external/llvm-project/llvm/tools/llvm-objcopy/ELF/
DELFObjcopy.cpp290 static Error dumpSectionToFile(StringRef SecName, StringRef Filename, in dumpSectionToFile() argument
293 if (Sec.Name == SecName) { in dumpSectionToFile()
297 SecName.str().c_str()); in dumpSectionToFile()
311 SecName.str().c_str()); in dumpSectionToFile()
729 StringRef SecName = SecPair.first; in handleArgs() local
740 Obj.addSection<OwnedDataSection>(SecName, Data); in handleArgs()
741 if (SecName.startswith(".note") && SecName != ".note.GNU-stack") in handleArgs()
/external/llvm-project/llvm/tools/llvm-objdump/
DELFDump.cpp95 auto SecName = EF.getSectionName(*SymSec); in getRelocationValueString() local
96 if (!SecName) in getRelocationValueString()
97 return SecName.takeError(); in getRelocationValueString()
98 Fmt << *SecName; in getRelocationValueString()
/external/llvm-project/llvm/tools/llvm-objcopy/COFF/
DCOFFObjcopy.cpp233 StringRef SecName, FileName; in handleArgs() local
234 std::tie(SecName, FileName) = Flag.split("="); in handleArgs()
242 Obj, SecName, in handleArgs()
/external/llvm-project/llvm/lib/ObjectYAML/
DELFEmitter.cpp214 StringRef SecName, ELFYAML::Section *YAMLSec);
366 std::string SecName = ("." + DebugSecName).str(); in ELFState() local
367 ImplicitSections.push_back(StringRef(SecName).copy(StringAlloc)); in ELFState()
375 for (StringRef SecName : ImplicitSections) { in ELFState() local
376 if (DocSections.count(SecName)) in ELFState()
381 Sec->Name = SecName; in ELFState()
585 Elf_Shdr &Header, StringRef SecName, in initImplicitHeader() argument
591 if (SecName == ".symtab") in initImplicitHeader()
593 else if (SecName == ".strtab") in initImplicitHeader()
594 initStrtabSectionHeader(Header, SecName, DotStrtab, CBA, YAMLSec); in initImplicitHeader()
[all …]
DDWARFEmitter.cpp1009 DWARFYAML::getDWARFEmitterByName(StringRef SecName) { in getDWARFEmitterByName() argument
1012 std::function<Error(raw_ostream &, const DWARFYAML::Data &)>>(SecName) in getDWARFEmitterByName()
1029 SecName + " is not supported"); in getDWARFEmitterByName()
1074 for (StringRef SecName : DI.getNonEmptySectionNames()) in emitDebugSections() local
1076 emitDebugSectionImpl(DI, SecName, DebugSections)); in emitDebugSections()
/external/llvm-project/llvm/tools/llvm-readobj/
DObjDumper.cpp71 StringRef SecName = unwrapOrError(Obj.getFileName(), SecRef.getName()); in getSectionRefsByNameOrIndex() local
72 auto NameIt = SecNames.find(std::string(SecName)); in getSectionRefsByNameOrIndex()
/external/llvm/include/llvm/DebugInfo/PDB/Raw/
DRawTypes.h65 support::ulittle16_t SecName; // Byte index of the segment or group name member
/external/llvm-project/llvm/include/llvm/ObjectYAML/
DDWARFEmitter.h48 getDWARFEmitterByName(StringRef SecName);
/external/llvm-project/llvm/lib/DWARFLinker/
DDWARFStreamer.cpp173 void DwarfStreamer::emitSectionContents(StringRef SecData, StringRef SecName) { in emitSectionContents() argument
175 StringSwitch<MCSection *>(SecName) in emitSectionContents()
697 MCSection *Sec, StringRef SecName, const CompileUnit &Unit, in emitPubSectionForUnit() argument
704 MCSymbol *BeginLabel = Asm->createTempSymbol("pub" + SecName + "_begin"); in emitPubSectionForUnit()
705 MCSymbol *EndLabel = Asm->createTempSymbol("pub" + SecName + "_end"); in emitPubSectionForUnit()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DWARFLinker/
DDWARFLinker.h97 StringRef SecName) = 0;
/external/llvm-project/llvm/include/llvm/DWARFLinker/
DDWARFStreamer.h80 void emitSectionContents(StringRef SecData, StringRef SecName) override;
/external/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
DRawTypes.h79 support::ulittle16_t SecName; // Byte index of the segment or group name member
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/PDB/Native/
DRawTypes.h79 support::ulittle16_t SecName; // Byte index of the segment or group name member

123