Home
last modified time | relevance | path

Searched refs:SegmentName (Results 1 – 25 of 29) sorted by relevance

12

/external/llvm-project/llvm/include/llvm/MC/
DMCSectionMachO.h25 char SegmentName[16]; // Not necessarily null terminated! variable
42 if (SegmentName[15]) in getSegmentName()
43 return StringRef(SegmentName, 16); in getSegmentName()
44 return StringRef(SegmentName); in getSegmentName()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/
DMCSectionMachO.h25 char SegmentName[16]; // Not necessarily null terminated! variable
43 if (SegmentName[15]) in getSegmentName()
44 return StringRef(SegmentName, 16); in getSegmentName()
45 return StringRef(SegmentName); in getSegmentName()
/external/llvm/include/llvm/MC/
DMCSectionMachO.h26 char SegmentName[16]; // Not necessarily null terminated! variable
44 if (SegmentName[15]) in getSegmentName()
45 return StringRef(SegmentName, 16); in getSegmentName()
46 return StringRef(SegmentName); in getSegmentName()
/external/llvm-project/llvm/lib/MC/MCParser/
DCOFFMasmParser.cpp256 StringRef SegmentName; in ParseDirectiveSegment() local
259 SegmentName = getTok().getIdentifier(); in ParseDirectiveSegment()
262 StringRef SectionName = SegmentName; in ParseDirectiveSegment()
266 if (SegmentName == "_TEXT" || SegmentName.startswith("_TEXT$")) { in ParseDirectiveSegment()
267 if (SegmentName.size() == 5) { in ParseDirectiveSegment()
271 (".text$" + SegmentName.substr(6)).toStringRef(SectionNameVector); in ParseDirectiveSegment()
285 StringRef SegmentName; in ParseDirectiveSegmentEnd() local
288 SegmentName = getTok().getIdentifier(); in ParseDirectiveSegmentEnd()
/external/clang/lib/Sema/
DSemaAttr.cpp298 StringLiteral *SegmentName, in ActOnPragmaMSSeg() argument
309 if (SegmentName && in ActOnPragmaMSSeg()
310 !checkSectionName(SegmentName->getLocStart(), SegmentName->getString())) in ActOnPragmaMSSeg()
312 Stack->Act(PragmaLocation, Action, StackSlotLabel, SegmentName); in ActOnPragmaMSSeg()
317 int SectionFlags, StringLiteral *SegmentName) { in ActOnPragmaMSSection() argument
318 UnifySection(SegmentName->getString(), SectionFlags, PragmaLocation); in ActOnPragmaMSSection()
322 StringLiteral *SegmentName) { in ActOnPragmaMSInitSeg() argument
326 CurInitSeg = SegmentName->getString() == ".CRT$XCU" ? nullptr : SegmentName; in ActOnPragmaMSInitSeg()
/external/llvm/tools/llvm-size/
Dllvm-size.cpp290 StringRef SegmentName = StringRef(Sec.segname); in printDarwinSegmentSizes() local
291 if (SegmentName == "__TEXT") in printDarwinSegmentSizes()
293 else if (SegmentName == "__DATA") in printDarwinSegmentSizes()
295 else if (SegmentName == "__OBJC") in printDarwinSegmentSizes()
301 StringRef SegmentName = StringRef(Seg.segname); in printDarwinSegmentSizes() local
302 if (SegmentName == "__TEXT") in printDarwinSegmentSizes()
304 else if (SegmentName == "__DATA") in printDarwinSegmentSizes()
306 else if (SegmentName == "__OBJC") in printDarwinSegmentSizes()
316 StringRef SegmentName = StringRef(Sec.segname); in printDarwinSegmentSizes() local
317 if (SegmentName == "__TEXT") in printDarwinSegmentSizes()
[all …]
/external/llvm-project/llvm/tools/llvm-size/
Dllvm-size.cpp303 StringRef SegmentName = StringRef(Sec.segname); in printDarwinSegmentSizes() local
304 if (SegmentName == "__TEXT") in printDarwinSegmentSizes()
306 else if (SegmentName == "__DATA") in printDarwinSegmentSizes()
308 else if (SegmentName == "__OBJC") in printDarwinSegmentSizes()
314 StringRef SegmentName = StringRef(Seg.segname); in printDarwinSegmentSizes() local
315 if (SegmentName == "__TEXT") in printDarwinSegmentSizes()
317 else if (SegmentName == "__DATA") in printDarwinSegmentSizes()
319 else if (SegmentName == "__OBJC") in printDarwinSegmentSizes()
329 StringRef SegmentName = StringRef(Sec.segname); in printDarwinSegmentSizes() local
330 if (SegmentName == "__TEXT") in printDarwinSegmentSizes()
[all …]
/external/llvm-project/clang/lib/Sema/
DSemaAttr.cpp542 StringLiteral *SegmentName, in ActOnPragmaMSSeg() argument
553 if (SegmentName) { in ActOnPragmaMSSeg()
554 if (!checkSectionName(SegmentName->getBeginLoc(), SegmentName->getString())) in ActOnPragmaMSSeg()
557 if (SegmentName->getString() == ".drectve" && in ActOnPragmaMSSeg()
562 Stack->Act(PragmaLocation, Action, StackSlotLabel, SegmentName); in ActOnPragmaMSSeg()
567 int SectionFlags, StringLiteral *SegmentName) { in ActOnPragmaMSSection() argument
568 UnifySection(SegmentName->getString(), SectionFlags, PragmaLocation); in ActOnPragmaMSSection()
572 StringLiteral *SegmentName) { in ActOnPragmaMSInitSeg() argument
576 CurInitSeg = SegmentName->getString() == ".CRT$XCU" ? nullptr : SegmentName; in ActOnPragmaMSInitSeg()
/external/llvm-project/llvm/tools/llvm-nm/
Dllvm-nm.cpp542 StringRef SegmentName = MachO->getSectionFinalSegmentName(Ref); in darwinPrintSymbol() local
543 outs() << "(" << SegmentName << "," << SectionName << ") "; in darwinPrintSymbol()
1056 StringRef SegmentName = Obj.getSectionFinalSegmentName(Ref); in getSymbolNMTypeChar() local
1058 SegmentName == "__TEXT_EXEC" && SectionName == "__text") in getSymbolNMTypeChar()
1060 if (SegmentName == "__TEXT" && SectionName == "__text") in getSymbolNMTypeChar()
1062 if (SegmentName == "__DATA" && SectionName == "__data") in getSymbolNMTypeChar()
1064 if (SegmentName == "__DATA" && SectionName == "__bss") in getSymbolNMTypeChar()
1200 StringRef SegmentName = Obj->getSectionFinalSegmentName(Ref); in getNsectForSegSect() local
1201 if (SegmentName == SegSect[0] && SectionName == SegSect[1]) in getNsectForSegSect()
1402 StringRef SegmentName = StringRef(); local
[all …]
/external/llvm/lib/MC/
DMCSectionMachO.cpp81 SegmentName[i] = Segment[i]; in MCSectionMachO()
83 SegmentName[i] = 0; in MCSectionMachO()
/external/llvm-project/llvm/lib/MC/
DMCSectionMachO.cpp92 SegmentName[i] = Segment[i]; in MCSectionMachO()
94 SegmentName[i] = 0; in MCSectionMachO()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMCSectionMachO.cpp92 SegmentName[i] = Segment[i]; in MCSectionMachO()
94 SegmentName[i] = 0; in MCSectionMachO()
/external/clang/lib/Parse/
DParsePragma.cpp562 StringLiteral *SegmentName = cast<StringLiteral>(StringResult.get()); in HandlePragmaMSSection() local
563 if (SegmentName->getCharByteWidth() != 1) { in HandlePragmaMSSection()
623 Actions.ActOnPragmaMSSection(PragmaLocation, SectionFlags, SegmentName); in HandlePragmaMSSection()
671 StringLiteral *SegmentName = nullptr; in HandlePragmaMSSegment() local
684 SegmentName = cast<StringLiteral>(StringResult.get()); in HandlePragmaMSSegment()
685 if (SegmentName->getCharByteWidth() != 1) { in HandlePragmaMSSegment()
691 if (SegmentName->getLength()) in HandlePragmaMSSegment()
706 SegmentName, PragmaName); in HandlePragmaMSSegment()
723 StringLiteral *SegmentName = nullptr; in HandlePragmaMSInitSeg() local
740 SegmentName = in HandlePragmaMSInitSeg()
[all …]
/external/llvm/tools/llvm-nm/
Dllvm-nm.cpp433 StringRef SegmentName = MachO->getSectionFinalSegmentName(Ref); in darwinPrintSymbol() local
434 outs() << "(" << SegmentName << "," << SectionName << ") "; in darwinPrintSymbol()
865 StringRef SegmentName = Obj.getSectionFinalSegmentName(Ref); in getSymbolNMTypeChar() local
866 if (SegmentName == "__TEXT" && SectionName == "__text") in getSymbolNMTypeChar()
868 if (SegmentName == "__DATA" && SectionName == "__data") in getSymbolNMTypeChar()
870 if (SegmentName == "__DATA" && SectionName == "__bss") in getSymbolNMTypeChar()
943 StringRef SegmentName = Obj->getSectionFinalSegmentName(Ref); in getNsectForSegSect() local
944 if (SegmentName == SegSect[0] && SectionName == SegSect[1]) in getNsectForSegSect()
/external/llvm-project/clang/lib/Parse/
DParsePragma.cpp866 StringLiteral *SegmentName = cast<StringLiteral>(StringResult.get()); in HandlePragmaMSSection() local
867 if (SegmentName->getCharByteWidth() != 1) { in HandlePragmaMSSection()
927 Actions.ActOnPragmaMSSection(PragmaLocation, SectionFlags, SegmentName); in HandlePragmaMSSection()
975 StringLiteral *SegmentName = nullptr; in HandlePragmaMSSegment() local
988 SegmentName = cast<StringLiteral>(StringResult.get()); in HandlePragmaMSSegment()
989 if (SegmentName->getCharByteWidth() != 1) { in HandlePragmaMSSegment()
995 if (SegmentName->getLength()) in HandlePragmaMSSegment()
1010 SegmentName, PragmaName); in HandlePragmaMSSegment()
1027 StringLiteral *SegmentName = nullptr; in HandlePragmaMSInitSeg() local
1044 SegmentName = in HandlePragmaMSInitSeg()
[all …]
/external/llvm-project/llvm/tools/llvm-objdump/
Dllvm-objdump.cpp1637 StringRef SegmentName = MachO->getSectionFinalSegmentName(DR); in getSegmentName() local
1638 return SegmentName; in getSegmentName()
1807 StringRef SegmentName = getSegmentName(MachO, Section); in disassembleObject() local
1863 if (!SegmentName.empty()) in disassembleObject()
1864 outs() << SegmentName << ","; in disassembleObject()
2400 StringRef SegmentName = getSegmentName(MachO, Section); in printSectionContents() local
2401 if (!SegmentName.empty()) in printSectionContents()
2402 outs() << SegmentName << ","; in printSectionContents()
2561 StringRef SegmentName = getSegmentName(MachO, *Section); in printSymbol() local
2562 if (!SegmentName.empty()) in printSymbol()
[all …]
/external/llvm/tools/llvm-objdump/
Dllvm-objdump.cpp1102 StringRef SegmentName = ""; in DisassembleObject() local
1105 SegmentName = MachO->getSectionFinalSegmentName(DR); in DisassembleObject()
1110 if (!SegmentName.empty()) in DisassembleObject()
1111 outs() << SegmentName << ","; in DisassembleObject()
1465 StringRef SegmentName = MachO->getSectionFinalSegmentName(DR); in PrintSymbolTable() local
1466 outs() << SegmentName << ","; in PrintSymbolTable()
DMachODump.cpp899 StringRef SegmentName = O->getSectionFinalSegmentName(Ref); in DumpLiteralPointerSection() local
900 outs() << SegmentName << ":" << SectName << ":"; in DumpLiteralPointerSection()
6589 StringRef SegmentName = MachOOF->getSectionFinalSegmentName(DR); in DisassembleMachO() local
6590 if (SegmentName != DisSegName) in DisassembleMachO()
9130 StringRef SegmentName; member
9150 Info.SegmentName = in SegInfo()
9152 if (!Info.SegmentName.equals(CurSegName)) { in SegInfo()
9154 CurSegName = Info.SegmentName; in SegInfo()
9167 return SI.SegmentName; in segmentName()
9217 StringRef SegmentName = sectionTable.segmentName(SegIndex); in printMachORebaseTable() local
[all …]
/external/llvm/tools/llvm-readobj/
DMachODumper.cpp256 ArrayRef<char> SegmentName; member
448 StringRef SegmentName = Obj->getSectionFinalSegmentName(DR); in printSections() local
454 W.printBinary("Segment", SegmentName, RawSegmentName); in printSections()
/external/llvm-project/llvm/tools/llvm-readobj/
DMachODumper.cpp277 ArrayRef<char> SegmentName; member
464 StringRef SegmentName = Obj->getSectionFinalSegmentName(DR); in printSectionHeaders() local
470 W.printBinary("Segment", SegmentName, RawSegmentName); in printSectionHeaders()
/external/llvm-project/lldb/source/Plugins/ObjectFile/ELF/
DObjectFileELF.cpp1688 std::string SegmentName; member in __anon4494792f0211::VMAddressProvider
1703 VMAddressProvider(ObjectFile::Type Type, llvm::StringRef SegmentName) in VMAddressProvider() argument
1704 : ObjectType(Type), SegmentName(std::string(SegmentName)) {} in VMAddressProvider()
1707 return llvm::formatv("{0}[{1}]", SegmentName, SegmentCount).str(); in GetNextSegmentName()
1713 SegmentName); in GetAddressInfo()
1719 SegmentName); in GetAddressInfo()
/external/llvm-project/llvm/lib/Object/
DMachOObjectFile.cpp2055 StringRef SegmentName = getSectionFinalSegmentName(Sec); in isSectionBitcode() local
2057 return (SegmentName == "__LLVM" && *NameOrErr == "__bitcode"); in isSectionBitcode()
4022 Info.SegmentName = in BindRebaseSegInfo()
4024 if (!Info.SegmentName.equals(CurSegName)) { in BindRebaseSegInfo()
4026 CurSegName = Info.SegmentName; in BindRebaseSegInfo()
4080 return SI.SegmentName; in segmentName()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DMachOObjectFile.cpp2045 StringRef SegmentName = getSectionFinalSegmentName(Sec); in isSectionBitcode() local
2047 return (SegmentName == "__LLVM" && *NameOrErr == "__bitcode"); in isSectionBitcode()
4013 Info.SegmentName = in BindRebaseSegInfo()
4015 if (!Info.SegmentName.equals(CurSegName)) { in BindRebaseSegInfo()
4017 CurSegName = Info.SegmentName; in BindRebaseSegInfo()
4071 return SI.SegmentName; in segmentName()
/external/llvm-project/llvm/include/llvm/Object/
DMachO.h149 StringRef SegmentName; member
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
DMachO.h149 StringRef SegmentName; member

12