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

References

tools/lld/unittests/MachOTests/MachONormalizedFileBinaryWriterTests.cpp
  238     text.segmentName = "__TEXT";
  239     text.sectionName = "__text";
  240     text.type = S_REGULAR;
  241     text.attributes = SectionAttr(S_ATTR_PURE_INSTRUCTIONS
  243     text.alignment = 16;
  244     text.address = 0;
  250     text.content = llvm::makeArrayRef(textBytes, sizeof(textBytes));
  251     text.relocations.push_back(makeReloc(0x01, true, true, GENERIC_RELOC_VANILLA, 0));
  252     text.relocations.push_back(makeReloc(0x06, false, true, GENERIC_RELOC_VANILLA, 0));
  253     text.relocations.push_back(makeScatReloc(0x0c, GENERIC_RELOC_LOCAL_SECTDIFF, 0));
  254     text.relocations.push_back(makeScatReloc(0x0, GENERIC_RELOC_PAIR, 5));
  255     text.relocations.push_back(makeReloc(0x12, true, true, GENERIC_RELOC_TLV, 1));