reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/lld/unittests/MachOTests/MachONormalizedFileBinaryWriterTests.cpp
  120     text.segmentName = "__TEXT";
  121     text.sectionName = "__text";
  122     text.type = S_REGULAR;
  123     text.attributes = SectionAttr(S_ATTR_PURE_INSTRUCTIONS
  125     text.alignment = 16;
  126     text.address = 0;
  135     text.content = llvm::makeArrayRef(textBytes, sizeof(textBytes));
  136     text.relocations.push_back(makeReloc(0x01, false, true, X86_64_RELOC_BRANCH, 1));
  137     text.relocations.push_back(makeReloc(0x08, false, true, X86_64_RELOC_GOT_LOAD, 1));
  138     text.relocations.push_back(makeReloc(0x0E, false, true, X86_64_RELOC_GOT, 1));
  139     text.relocations.push_back(makeReloc(0x14, false, true, X86_64_RELOC_SIGNED, 1));
  140     text.relocations.push_back(makeReloc(0x1A, false, true, X86_64_RELOC_SIGNED_1, 1));
  141     text.relocations.push_back(makeReloc(0x21, false, true, X86_64_RELOC_SIGNED_4, 1));
  142     text.relocations.push_back(makeReloc(0x2C, false, true, X86_64_RELOC_TLV, 2));