/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-objcopy/MachO/ |
H A D | Object.cpp | 121 StringRef SegName) { 122 assert(SegName.size() <= sizeof(Seg.segname) && "too long segment name"); 125 strncpy(Seg.segname, SegName.data(), SegName.size()); 128 LoadCommand &Object::addSegment(StringRef SegName) { argument 132 MachO::LC_SEGMENT_64, SegName); 135 MachO::LC_SEGMENT, SegName); 142 static StringRef extractSegmentName(const char *SegName) { argument 143 return StringRef(SegName, 144 strnlen(SegName, sizeo 119 constructSegment(SegmentType &Seg, llvm::MachO::LoadCommandType CmdType, StringRef SegName) argument [all...] |
H A D | Object.h | 58 Section(StringRef SegName, StringRef SectName) argument 59 : Segname(std::string(SegName)), Sectname(std::string(SectName)), 60 CanonicalName((Twine(SegName) + Twine(',') + SectName).str()) {} 62 Section(StringRef SegName, StringRef SectName, StringRef Content) argument 63 : Segname(std::string(SegName)), Sectname(std::string(SectName)), 64 CanonicalName((Twine(SegName) + Twine(',') + SectName).str()), 337 /// to the newly created load command. The caller should verify that SegName 338 /// is not too long (SegName.size() should be less than or equal to 16). 339 LoadCommand &addSegment(StringRef SegName);
|
H A D | MachOObjcopy.cpp | 264 Optional<StringRef> SegName = LC.getSegmentName(); local 265 if (SegName && SegName == TargetSegName) {
|
H A D | MachOReader.cpp | 32 StringRef SegName(Sec.segname, strnlen(Sec.segname, sizeof(Sec.segname))); 34 Section S(SegName, SectName);
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/MC/ |
H A D | MCMachOStreamer.cpp | 125 StringRef SegName = MSec.getSegmentName(); local 128 if (SegName == "__LD" && SecName == "__compact_unwind") 131 if (SegName == "__IMPORT") { 139 if (SegName == "__TEXT" && SecName == "__eh_frame") 142 if (SegName == "__DATA" && (SecName == "__nl_symbol_ptr" || 154 StringRef SegName = MSec.getSegmentName(); local 155 if (SegName == "__DWARF")
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
H A D | MachOLinkGraphBuilder.cpp | 84 strcmp(NSec.SegName, "__DWARF") == 0); 128 memcpy(&NSec.SegName, Sec64.segname, 16); 129 NSec.SegName[16] = '\0'; 141 memcpy(&NSec.SegName, Sec32.segname, 16); 142 NSec.SegName[16] = '\0'; 218 formatv("\"{0}/{1}\" [ {2:x16} -- {3:x16} ] ", Cur.SegName, 220 "overlaps section \"" + Next.SegName + "/" + Next.SectName + "\"" + 221 formatv("\"{0}/{1}\" [ {2:x16} -- {3:x16} ] ", Next.SegName, 299 dbgs() << " Skipping: Symbol is in section " << NSec->SegName << "/" 399 dbgs() << " " << NSec.SegName << "/" << NSe [all...] |
H A D | MachOLinkGraphBuilder.h | 64 // to be null-terminated, hence the extra bytes on SegName and SectName. 73 char SegName[17]; member in class:llvm::jitlink::MachOLinkGraphBuilder::NormalizedSection
|
H A D | MachO_arm64.cpp | 202 dbgs() << "Skipping relocations for MachO section " << NSec.SegName
|
H A D | MachO_x86_64.cpp | 204 dbgs() << "Skipping relocations for MachO section " << NSec.SegName
|
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-readobj/ |
H A D | MachODumper.cpp | 298 std::string SegName; member in struct:__anon4873::MachOSegment 366 Segment.SegName = SC.segname; 380 Segment.SegName = SC.segname; 842 W.printString("Name", MOSegment.SegName);
|
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-objdump/ |
H A D | MachODump.cpp | 379 StringRef SegName = SLC.segname; local 380 if (!BaseSegmentAddressSet && SegName != "__PAGEZERO") { 386 StringRef SegName = SLC.segname; local 387 if (!BaseSegmentAddressSet && SegName != "__PAGEZERO") { 1013 StringRef SegName = O->getSectionFinalSegmentName(DRI); local 1015 outs() << "(" << SegName << "," << *NameOrErr << ")\n"; 1069 const StringRef SegName = O->getSectionFinalSegmentName(DRI); local 1071 outs() << "Relocation information (" << SegName << "," << *NameOrErr 1074 outs() << "Relocation information (" << SegName << ",?) " 1089 const StringRef SegName local 1751 StringRef SegName = O->getSectionFinalSegmentName(Ref); local 1853 StringRef SegName = O->getSectionFinalSegmentName(Ref); local 1955 StringRef SegName = MachOOF->getSectionFinalSegmentName(Ref); local 3295 StringRef SegName = info->O->getSectionFinalSegmentName(Ref); local 4096 StringRef SegName = O->getSectionFinalSegmentName(Ref); local 4118 StringRef SegName = O->getSectionFinalSegmentName(Ref); local 4167 StringRef SegName = O->getSectionFinalSegmentName(Ref); local 5846 StringRef SegName = info->O->getSectionFinalSegmentName(Ref); local 5914 StringRef SegName = info->O->getSectionFinalSegmentName(Ref); local 5965 StringRef SegName = info->O->getSectionFinalSegmentName(Ref); local 6027 StringRef SegName = info->O->getSectionFinalSegmentName(Ref); local 6082 StringRef SegName = info->O->getSectionFinalSegmentName(Ref); local 8527 PrintSegmentCommand(uint32_t cmd, uint32_t cmdsize, StringRef SegName, uint64_t vmaddr, uint64_t vmsize, uint64_t fileoff, uint64_t filesize, uint32_t maxprot, uint32_t initprot, uint32_t nsects, uint32_t flags, uint32_t object_size, bool verbose) argument [all...] |