Home
last modified time | relevance | path

Searched refs:sectname (Results 1 – 25 of 30) sorted by relevance

12

/openbsd-src/gnu/llvm/lld/MachO/
H A DObjC.cpp37 StringRef sectname(secHead.sectname, in objectHasObjCSection() local
38 strnlen(secHead.sectname, sizeof(secHead.sectname))); in objectHasObjCSection()
42 sectname == section_names::objcCatList) || in objectHasObjCSection()
44 sectname.startswith(section_names::swift))) { in objectHasObjCSection()
H A DInputFiles.cpp325 StringRef(sec.sectname, strnlen(sec.sectname, sizeof(sec.sectname))); in parseSections()
355 fatal(toString(this) + ": " + sec.segname + "," + sec.sectname + in parseSections()
366 fatal(toString(this) + ": " + sec.segname + "," + sec.sectname + in parseSections()
487 sec.sectname + " in " + toString(file)) in validateRelocationInfo()
H A DWriter.cpp258 memcpy(sectHdr->sectname, osec->name.data(), osec->name.size()); in writeTo()
/openbsd-src/gnu/llvm/lldb/examples/python/
H A Dmach_o.py917 … print('comparing %s.%s...' % (lhs_section.segname, lhs_section.sectname), end=' ')
965 … print('error: section %s is missing in %s' % (lhs_section.sectname, rhs.path))
1025 if section.sectname and section.sectname == name:
1031 … if section.sectname == other_section.sectname and section.segname == other_section.segname:
1046 for sectname in options.section_names:
1047 section = self.get_section_by_name(sectname)
1078 print("Saving section %s to '%s'" % (sectname, options.outfile))
1083 …("error: you can only save a single section to disk at a time, skipping section '%s'" % (sectname))
1085 print('section %s:\n' % (sectname))
1090 print('error: no section named "%s" was found' % (sectname))
[all …]
/openbsd-src/gnu/llvm/llvm/lib/ObjectYAML/
H A DMachOEmitter.cpp110 memcpy(reinterpret_cast<void *>(&TempSec.sectname[0]), &Sec.sectname[0], 16); in constructSection()
323 Sec.sectname, Sec.segname, OS.tell(), fileStart, in writeSectionData()
326 StringRef SectName(Sec.sectname, in writeSectionData()
327 strnlen(Sec.sectname, sizeof(Sec.sectname))); in writeSectionData()
H A DMachOYAML.cpp331 IO.mapRequired("sectname", Section.sectname); in mapping()
497 IO.mapRequired("sectname", Section.sectname); in mapping()
512 IO.mapRequired("sectname", Section.sectname); in mapping()
/openbsd-src/gnu/llvm/llvm/lib/ObjCopy/MachO/
H A DMachOReader.cpp33 StringRef SectName(Sec.sectname, strnlen(Sec.sectname, sizeof(Sec.sectname))); in constructSectionCommon()
H A DMachOWriter.cpp218 assert(Sec.Sectname.size() <= sizeof(Temp.sectname) && in writeSectionInLoadCommand()
222 memcpy(Temp.sectname, Sec.Sectname.data(), Sec.Sectname.size()); in writeSectionInLoadCommand()
/openbsd-src/gnu/llvm/llvm/docs/CommandGuide/
H A Dllvm-otool.rst102 .. option:: -s <segname> <sectname>
/openbsd-src/gnu/llvm/llvm/tools/llvm-size/
H A Dllvm-size.cpp236 << format("%.16s", &Sec.sectname) << "): "; in printDarwinSectionSizes()
238 outs() << "\tSection " << format("%.16s", &Sec.sectname) << ": "; in printDarwinSectionSizes()
263 << format("%.16s", &Sec.sectname) << "): "; in printDarwinSectionSizes()
265 outs() << "\tSection " << format("%.16s", &Sec.sectname) << ": "; in printDarwinSectionSizes()
/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/Orc/
H A DDebuggerSupportPlugin.cpp269 memcpy(Sec.sectname, SI.SecName.data(), SI.SecName.size()); in startSynthesis()
339 memcpy(SecCmd.sectname, SecName.data(), SecName.size()); in completeSynthesisAndRegister()
/openbsd-src/gnu/usr.bin/binutils/bfd/
H A Dmach-o.h192 char sectname[16 + 1]; member
H A Dmach-o.c572 + strlen (section->sectname) + 1;
577 sprintf (sname, "%s.%s.%s", prefix, section->segname, section->sectname);
609 memcpy (section->sectname, buf, 16);
610 section->sectname[16] = '\0';
638 memcpy (buf, section->sectname, 16);
/openbsd-src/gnu/usr.bin/binutils-2.17/bfd/
H A Dmach-o.h192 char sectname[16 + 1]; member
H A Dmach-o.c351 memcpy (buf, section->sectname, 16); in bfd_mach_o_scan_write_section()
640 + strlen (section->sectname) + 1; in bfd_mach_o_make_bfd_section()
645 sprintf (sname, "%s.%s.%s", prefix, section->segname, section->sectname); in bfd_mach_o_make_bfd_section()
676 memcpy (section->sectname, buf, 16); in bfd_mach_o_scan_read_section()
677 section->sectname[16] = '\0'; in bfd_mach_o_scan_read_section()
/openbsd-src/gnu/llvm/llvm/tools/obj2yaml/
H A Dmacho2yaml.cpp83 memcpy(reinterpret_cast<void *>(&TempSec.sectname[0]), &Sec.sectname[0], 16); in constructSectionCommon()
184 StringRef SecName(S->sectname); in extractSections()
/openbsd-src/gnu/llvm/llvm/tools/llvm-objdump/
H A DOtoolOpts.td29 MetaVarName<"<segname> <sectname>">,
H A DMachODump.cpp701 << Sec.sectname << ") " in PrintIndirectSymbols()
707 << Sec.sectname << ") " << count << " entries"; in PrintIndirectSymbols()
729 << Sec.sectname << ") " in PrintIndirectSymbols()
735 << Sec.sectname << ") " << count << " entries"; in PrintIndirectSymbols()
3473 if ((strncmp(Sec.sectname, "__objc_selrefs", 16) == 0 || in GuessPointerPointer()
3474 strncmp(Sec.sectname, "__objc_classrefs", 16) == 0 || in GuessPointerPointer()
3475 strncmp(Sec.sectname, "__objc_superrefs", 16) == 0 || in GuessPointerPointer()
3476 strncmp(Sec.sectname, "__objc_msgrefs", 16) == 0 || in GuessPointerPointer()
3477 strncmp(Sec.sectname, "__cfstring", 16) == 0) && in GuessPointerPointer()
3491 if (strncmp(Sec.sectname, "__objc_selrefs", 16) == 0) in GuessPointerPointer()
[all …]
/openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_procmaps_mac.cpp57 sc->sectname); in NextSectionLoad()
/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/JITLink/
H A DMachOLinkGraphBuilder.cpp136 memcpy(&NSec.SectName, &Sec64.sectname, 16); in createNormalizedSections()
149 memcpy(&NSec.SectName, &Sec32.sectname, 16); in createNormalizedSections()
/openbsd-src/gnu/llvm/llvm/include/llvm/ObjectYAML/
H A DMachOYAML.h46 char sectname[16]; member
/openbsd-src/gnu/usr.bin/binutils/gdb/
H A Dremote.c4795 const char *sectname; in compare_sections_command() local
4817 sectname = bfd_get_section_name (exec_bfd, s); in compare_sections_command()
4818 if (args && strcmp (args, sectname) != 0) in compare_sections_command()
4836 sectname, paddr (lma), paddr (lma + size)); in compare_sections_command()
4844 sectname, paddr (lma), paddr (lma + size)); in compare_sections_command()
/openbsd-src/gnu/llvm/llvm/tools/dsymutil/
H A DMachOUtils.cpp295 if (StringRef("__eh_frame") == Sect.sectname) { in transferSegmentAndSections()
/openbsd-src/gnu/llvm/llvm/include/llvm/BinaryFormat/
H A DMachO.h571 char sectname[16]; member
585 char sectname[16]; member
/openbsd-src/gnu/llvm/lldb/source/Plugins/ObjectFile/Mach-O/
H A DObjectFileMachO.cpp1724 if (m_data.GetU8(&offset, (uint8_t *)sect64.sectname, in ProcessSegmentCommand()
1725 sizeof(sect64.sectname)) == nullptr) in ProcessSegmentCommand()
1746 sect64.sectname, strnlen(sect64.sectname, sizeof(sect64.sectname))); in ProcessSegmentCommand()

12