Searched refs:SegName (Results 1 - 7 of 7) sorted by relevance

/freebsd-12-stable/contrib/llvm-project/llvm/tools/llvm-objcopy/MachO/
H A DObject.cpp39 StringRef SegName) {
40 assert(SegName.size() <= sizeof(Seg.segname) && "too long segment name");
43 strncpy(Seg.segname, SegName.data(), SegName.size());
46 LoadCommand &Object::addSegment(StringRef SegName) { argument
50 MachO::LC_SEGMENT_64, SegName);
53 MachO::LC_SEGMENT, SegName);
60 static StringRef extractSegmentName(const char *SegName) { argument
61 return StringRef(SegName,
62 strnlen(SegName, sizeo
37 constructSegment(SegmentType &Seg, llvm::MachO::LoadCommandType CmdType, StringRef SegName) argument
[all...]
H A DObject.h57 Section(StringRef SegName, StringRef SectName) argument
58 : Segname(SegName), Sectname(SectName),
59 CanonicalName((Twine(SegName) + Twine(',') + SectName).str()) {}
61 Section(StringRef SegName, StringRef SectName, StringRef Content) argument
62 : Segname(SegName), Sectname(SectName),
63 CanonicalName((Twine(SegName) + Twine(',') + SectName).str()),
299 /// to the newly created load command. The caller should verify that SegName
300 /// is not too long (SegName.size() should be less than or equal to 16).
301 LoadCommand &addSegment(StringRef SegName);
H A DMachOObjcopy.cpp123 Optional<StringRef> SegName = LC.getSegmentName(); local
124 if (SegName && SegName == TargetSegName) {
H A DMachOReader.cpp32 StringRef SegName(Sec.segname, strnlen(Sec.segname, sizeof(Sec.segname)));
34 Section S(SegName, SectName);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/MC/
H A DMCMachOStreamer.cpp125 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-12-stable/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DMachODumper.cpp298 std::string SegName; member in struct:__anon5864::MachOSegment
366 Segment.SegName = SC.segname;
380 Segment.SegName = SC.segname;
842 W.printString("Name", MOSegment.SegName);
/freebsd-12-stable/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DMachODump.cpp389 StringRef SegName = SLC.segname; local
390 if (!BaseSegmentAddressSet && SegName != "__PAGEZERO") {
396 StringRef SegName = SLC.segname; local
397 if (!BaseSegmentAddressSet && SegName != "__PAGEZERO") {
1023 StringRef SegName = O->getSectionFinalSegmentName(DRI); local
1025 outs() << "(" << SegName << "," << *NameOrErr << ")\n";
1079 const StringRef SegName = O->getSectionFinalSegmentName(DRI); local
1081 outs() << "Relocation information (" << SegName << "," << *NameOrErr
1084 outs() << "Relocation information (" << SegName << ",?) "
1099 const StringRef SegName local
1758 StringRef SegName = O->getSectionFinalSegmentName(Ref); local
1859 StringRef SegName = O->getSectionFinalSegmentName(Ref); local
1961 StringRef SegName = MachOOF->getSectionFinalSegmentName(Ref); local
3299 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
8526 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...]

Completed in 124 milliseconds