Home
last modified time | relevance | path

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

/external/llvm/include/llvm/MC/
DMCSectionMachO.h27 char SegmentName[16]; // Not necessarily null terminated! variable
45 if (SegmentName[15]) in getSegmentName()
46 return StringRef(SegmentName, 16); in getSegmentName()
47 return StringRef(SegmentName); in getSegmentName()
/external/llvm/tools/llvm-size/
Dllvm-size.cpp210 StringRef SegmentName = StringRef(Sec.segname); in PrintDarwinSegmentSizes() local
211 if (SegmentName == "__TEXT") in PrintDarwinSegmentSizes()
213 else if (SegmentName == "__DATA") in PrintDarwinSegmentSizes()
215 else if (SegmentName == "__OBJC") in PrintDarwinSegmentSizes()
221 StringRef SegmentName = StringRef(Seg.segname); in PrintDarwinSegmentSizes() local
222 if (SegmentName == "__TEXT") in PrintDarwinSegmentSizes()
224 else if (SegmentName == "__DATA") in PrintDarwinSegmentSizes()
226 else if (SegmentName == "__OBJC") in PrintDarwinSegmentSizes()
236 StringRef SegmentName = StringRef(Sec.segname); in PrintDarwinSegmentSizes() local
237 if (SegmentName == "__TEXT") in PrintDarwinSegmentSizes()
[all …]
/external/clang/lib/Sema/
DSemaAttr.cpp414 StringLiteral *SegmentName, in ActOnPragmaMSSeg() argument
425 if (SegmentName && in ActOnPragmaMSSeg()
426 !checkSectionName(SegmentName->getLocStart(), SegmentName->getString())) in ActOnPragmaMSSeg()
428 Stack->Act(PragmaLocation, Action, StackSlotLabel, SegmentName); in ActOnPragmaMSSeg()
433 int SectionFlags, StringLiteral *SegmentName) { in ActOnPragmaMSSection() argument
434 UnifySection(SegmentName->getString(), SectionFlags, PragmaLocation); in ActOnPragmaMSSection()
438 StringLiteral *SegmentName) { in ActOnPragmaMSInitSeg() argument
442 CurInitSeg = SegmentName->getString() == ".CRT$XCU" ? nullptr : SegmentName; in ActOnPragmaMSInitSeg()
/external/llvm/lib/MC/
DMCSectionMachO.cpp81 SegmentName[i] = Segment[i]; in MCSectionMachO()
83 SegmentName[i] = 0; in MCSectionMachO()
/external/llvm/tools/llvm-objdump/
Dllvm-objdump.cpp342 StringRef SegmentName = ""; in DisassembleObject() local
345 SegmentName = MachO->getSectionFinalSegmentName(DR); in DisassembleObject()
351 if (!SegmentName.empty()) in DisassembleObject()
352 outs() << SegmentName << ","; in DisassembleObject()
677 StringRef SegmentName = MachO->getSectionFinalSegmentName(DR); in PrintSymbolTable() local
678 outs() << SegmentName << ","; in PrintSymbolTable()
DMachODump.cpp875 StringRef SegmentName = O->getSectionFinalSegmentName(Ref); in DumpLiteralPointerSection() local
876 outs() << SegmentName << ":" << SectName << ":"; in DumpLiteralPointerSection()
6131 StringRef SegmentName = MachOOF->getSectionFinalSegmentName(DR); in DisassembleMachO() local
6132 if (SegmentName != DisSegName) in DisassembleMachO()
8606 StringRef SegmentName; member
8627 Info.SegmentName = in SegInfo()
8629 if (!Info.SegmentName.equals(CurSegName)) { in SegInfo()
8631 CurSegName = Info.SegmentName; in SegInfo()
8644 return SI.SegmentName; in segmentName()
8680 StringRef SegmentName = sectionTable.segmentName(SegIndex); in printMachORebaseTable() local
[all …]
/external/clang/lib/Parse/
DParsePragma.cpp535 StringLiteral *SegmentName = cast<StringLiteral>(StringResult.get()); in HandlePragmaMSSection() local
536 if (SegmentName->getCharByteWidth() != 1) { in HandlePragmaMSSection()
596 Actions.ActOnPragmaMSSection(PragmaLocation, SectionFlags, SegmentName); in HandlePragmaMSSection()
644 StringLiteral *SegmentName = nullptr; in HandlePragmaMSSegment() local
657 SegmentName = cast<StringLiteral>(StringResult.get()); in HandlePragmaMSSegment()
658 if (SegmentName->getCharByteWidth() != 1) { in HandlePragmaMSSegment()
664 if (SegmentName->getLength()) in HandlePragmaMSSegment()
679 SegmentName, PragmaName); in HandlePragmaMSSegment()
696 StringLiteral *SegmentName = nullptr; in HandlePragmaMSInitSeg() local
713 SegmentName = in HandlePragmaMSInitSeg()
[all …]
/external/llvm/tools/llvm-nm/
Dllvm-nm.cpp371 StringRef SegmentName = MachO->getSectionFinalSegmentName(Ref); in darwinPrintSymbol() local
372 outs() << "(" << SegmentName << "," << SectionName << ") "; in darwinPrintSymbol()
757 StringRef SegmentName = Obj.getSectionFinalSegmentName(Ref); in getSymbolNMTypeChar() local
758 if (SegmentName == "__TEXT" && SectionName == "__text") in getSymbolNMTypeChar()
760 else if (SegmentName == "__DATA" && SectionName == "__data") in getSymbolNMTypeChar()
762 else if (SegmentName == "__DATA" && SectionName == "__bss") in getSymbolNMTypeChar()
861 StringRef SegmentName = Obj->getSectionFinalSegmentName(Ref); in getNsectForSegSect() local
862 if (SegmentName == SegSect[0] && SectionName == SegSect[1]) in getNsectForSegSect()
/external/llvm/tools/llvm-readobj/
DMachODumper.cpp271 ArrayRef<char> SegmentName; member
405 StringRef SegmentName = Obj->getSectionFinalSegmentName(DR); in printSections() local
411 W.printBinary("Segment", SegmentName, RawSegmentName); in printSections()
/external/llvm/tools/macho-dump/
Dmacho-dump.cpp72 StringRef SegmentName, uint64_t Address, in DumpSectionData() argument
82 outs().write_escaped(SegmentName, /*UseHexEscapes=*/true) << "')\n"; in DumpSectionData()
/external/clang/include/clang/Sema/
DSema.h7279 StringLiteral *SegmentName,
7284 int SectionFlags, StringLiteral *SegmentName);
7288 StringLiteral *SegmentName);