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

References

tools/lld/lib/ReaderWriter/MachO/ArchHandler.cpp
   91   result.offset    = 0;
  119   reloc.offset = offset;
tools/lld/lib/ReaderWriter/MachO/ArchHandler_arm.cpp
  823     other16 = (reloc2.offset & 0xFFFF);
  878     other16 = (reloc2.offset & 0xFFFF);
tools/lld/lib/ReaderWriter/MachO/ArchHandler_arm64.cpp
  520     if (reloc1.offset != reloc2.offset)
  520     if (reloc1.offset != reloc2.offset)
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryUtils.h
  136     result.offset     = bitFieldExtract(r0, true, 8, 24);
  146     result.offset     = r0;
  167     bitFieldSet(r0, true, r.offset,    8, 24);
  173     r0 = r.offset;
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.cpp
  604     if (reloc.offset > section.content.size())
  606                                     Twine("r_address (") + Twine(reloc.offset)
  611                                                             reloc.offset,
  614     uint64_t fixupAddress = section.address + reloc.offset;
  632              + " (r1_address=" + Twine::utohexstr(reloc.offset)
  642              + ", (r2_address=" + Twine::utohexstr(reloc2.offset)
  668              + " (r_address=" + Twine::utohexstr(reloc.offset)
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileYAML.cpp
  352     io.mapRequired("offset",    reloc.offset);
tools/lld/unittests/MachOTests/MachONormalizedFileBinaryReaderTests.cpp
  287   EXPECT_EQ(call.offset, Hex32(0x19));
  293   EXPECT_EQ(str.offset, Hex32(0xB));
  412   EXPECT_EQ(call.offset, Hex32(0x1D));
  420   EXPECT_EQ(sectDiff.offset, Hex32(0xE));
  427   EXPECT_EQ(pair.offset, Hex32(0x0));
  544   EXPECT_EQ(call.offset, Hex32(0x18));
  551   EXPECT_EQ(movt.offset, Hex32(0xA));
  557   EXPECT_EQ(movtPair.offset, Hex32(0x18));
  563   EXPECT_EQ(movw.offset, Hex32(0x6));
  569   EXPECT_EQ(movwPair.offset, Hex32(0x0));
  688   EXPECT_EQ(bl.offset, Hex32(0x24));
  694   EXPECT_EQ(lo.offset, Hex32(0x20));
  700   EXPECT_EQ(loPair.offset, Hex32(0x0));
  706   EXPECT_EQ(ha.offset, Hex32(0x1C));
  712   EXPECT_EQ(haPair.offset, Hex32(0x2c));
tools/lld/unittests/MachOTests/MachONormalizedFileBinaryWriterTests.cpp
   48   result.offset = addr;
   62   result.offset = addr;
  185   EXPECT_EQ(call.offset, Hex32(0x1));
  191   EXPECT_EQ(gotLoad.offset, Hex32(0x8));
  197   EXPECT_EQ(gotUse.offset, Hex32(0xE));
  203   EXPECT_EQ(signed0.offset, Hex32(0x14));
  209   EXPECT_EQ(signed1.offset, Hex32(0x1A));
  215   EXPECT_EQ(signed4.offset, Hex32(0x21));
  297   EXPECT_EQ(call.offset, Hex32(0x1));
  305   EXPECT_EQ(absLoad.offset, Hex32(0x6));
  313   EXPECT_EQ(pic1.offset, Hex32(0xc));
  319   EXPECT_EQ(pic2.offset, Hex32(0x0));
  325   EXPECT_EQ(tlv.offset, Hex32(0x12));
  423   EXPECT_EQ(blx.offset, Hex32(0x0));
  431   EXPECT_EQ(movw1.offset, Hex32(0x4));
  437   EXPECT_EQ(movw2.offset, Hex32(0x0));
  443   EXPECT_EQ(movt1.offset, Hex32(0x8));
  449   EXPECT_EQ(movt2.offset, Hex32(0x0));
  455   EXPECT_EQ(absPointer.offset, Hex32(0xC));
  580   EXPECT_EQ(br24.offset, Hex32(0x0));
  588   EXPECT_EQ(br14.offset, Hex32(0x4));
  596   EXPECT_EQ(pichi1.offset, Hex32(0x8));
  602   EXPECT_EQ(pichi2.offset, Hex32(0x24));
  608   EXPECT_EQ(picha1.offset, Hex32(0xC));
  614   EXPECT_EQ(picha2.offset, Hex32(0x24));
  620   EXPECT_EQ(piclo1.offset, Hex32(0x10));
  626   EXPECT_EQ(piclo2.offset, Hex32(0x0));
  632   EXPECT_EQ(picloa1.offset, Hex32(0x14));
  638   EXPECT_EQ(picloa2.offset, Hex32(0x0));
  644   EXPECT_EQ(abshi1.offset, Hex32(0x18));
  650   EXPECT_EQ(abshi2.offset, Hex32(0x28));
  656   EXPECT_EQ(absha1.offset, Hex32(0x1C));
  662   EXPECT_EQ(absha2.offset, Hex32(0x28));
  668   EXPECT_EQ(abslo1.offset, Hex32(0x20));
  674   EXPECT_EQ(abslo2.offset, Hex32(0x00));
  680   EXPECT_EQ(absloa1.offset, Hex32(0x24));
  686   EXPECT_EQ(absloa2.offset, Hex32(0x00));
tools/lld/unittests/MachOTests/MachONormalizedFileYAMLTests.cpp
  295   EXPECT_EQ(reloc1.offset, 0x0eU);
  304   EXPECT_EQ(reloc2.offset, 0x07U);
  425   EXPECT_EQ(reloc1.offset, 0x16U);
  434   EXPECT_EQ(reloc2.offset, 0x0eU);
  442   EXPECT_EQ(reloc3.offset, 0U);
  553   EXPECT_EQ(reloc1.offset, 0x1cU);
  561   EXPECT_EQ(reloc2.offset, 0x0U);
  569   EXPECT_EQ(reloc3.offset, 0x10U);
  693   EXPECT_EQ(reloc1.offset, 0x0eU);
  702   EXPECT_EQ(reloc2.offset, 0x8U);
  710   EXPECT_EQ(reloc3.offset, 0x6U);
  718   EXPECT_EQ(reloc4.offset, 0x2U);
  726   EXPECT_EQ(reloc5.offset, 0x0U);