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

References

tools/lld/lib/ReaderWriter/MachO/ArchHandler.cpp
   97   result.symbol    = 0;
  120   reloc.symbol = symbol;
tools/lld/lib/ReaderWriter/MachO/ArchHandler_arm.cpp
  541     if (auto ec = atomFromSymbolIndex(reloc.symbol, target))
  555     return atomFromAddress(reloc.symbol, targetAddress, target, addend);
  577     if (auto ec = atomFromSymbolIndex(reloc.symbol, target))
  592     return atomFromAddress(reloc.symbol, targetAddress, target, addend);
  611     if (auto ec = atomFromSymbolIndex(reloc.symbol, target))
  618     if (auto ec = atomFromAddress(reloc.symbol, instruction, target, addend))
  884       if (auto ec = atomFromSymbolIndex(reloc1.symbol, target))
  893         sectIndex = reloc1.symbol;
tools/lld/lib/ReaderWriter/MachO/ArchHandler_arm64.cpp
  388     if (auto ec = atomFromSymbolIndex(reloc.symbol, target))
  395     if (auto ec = atomFromSymbolIndex(reloc.symbol, target))
  402     if (auto ec = atomFromSymbolIndex(reloc.symbol, target))
  409     if (auto ec = atomFromSymbolIndex(reloc.symbol, target))
  416     if (auto ec = atomFromSymbolIndex(reloc.symbol, target))
  423     if (auto ec = atomFromSymbolIndex(reloc.symbol, target))
  430     if (auto ec = atomFromSymbolIndex(reloc.symbol, target))
  437     if (auto ec = atomFromSymbolIndex(reloc.symbol, target))
  444      return atomFromAddress(reloc.symbol, *(const little64_t *)fixupContent,
  449     if (auto ec = atomFromSymbolIndex(reloc.symbol, target))
  463     if (auto ec = atomFromSymbolIndex(reloc.symbol, target))
  484     if (auto ec = atomFromSymbolIndex(reloc2.symbol, target))
  486     *addend = reloc1.symbol;
  492     if (auto ec = atomFromSymbolIndex(reloc2.symbol, target))
  494     *addend = reloc1.symbol;
  501     if (auto ec = atomFromSymbolIndex(reloc2.symbol, target))
  503     *addend = reloc1.symbol;
  509     if (auto ec = atomFromSymbolIndex(reloc2.symbol, target))
  529     if (auto ec = atomFromSymbolIndex(reloc2.symbol, target))
tools/lld/lib/ReaderWriter/MachO/ArchHandler_x86.cpp
  267     if (auto ec = atomFromSymbolIndex(reloc.symbol, target))
  276     return atomFromAddress(reloc.symbol, targetAddress, target, addend);
  290     if (auto ec = atomFromSymbolIndex(reloc.symbol, target))
  299     return atomFromAddress(reloc.symbol, targetAddress, target, addend);
  317     if (auto ec = atomFromSymbolIndex(reloc.symbol, target))
  329     return atomFromAddress(reloc.symbol, targetAddress, target, addend);
tools/lld/lib/ReaderWriter/MachO/ArchHandler_x86_64.cpp
  413     if (auto ec = atomFromSymbolIndex(reloc.symbol, target))
  418     if (auto ec = atomFromSymbolIndex(reloc.symbol, target))
  423     if (auto ec = atomFromSymbolIndex(reloc.symbol, target))
  428     if (auto ec = atomFromSymbolIndex(reloc.symbol, target))
  434     return atomFromAddress(reloc.symbol, targetAddress, target, addend);
  437     return atomFromAddress(reloc.symbol, targetAddress, target, addend);
  440     return atomFromAddress(reloc.symbol, targetAddress, target, addend);
  443     return atomFromAddress(reloc.symbol, targetAddress, target, addend);
  447     if (auto ec = atomFromSymbolIndex(reloc.symbol, target))
  453     if (auto ec = atomFromSymbolIndex(reloc.symbol, target))
  466     return atomFromAddress(reloc.symbol, targetAddress, target, addend);
  487   if (auto ec = atomFromSymbolIndex(reloc1.symbol, &fromTarget))
  493     if (auto ec = atomFromSymbolIndex(reloc2.symbol, target))
  512     if (auto ec = atomFromSymbolIndex(reloc2.symbol, target))
  532     return atomFromAddress(reloc2.symbol, targetAddress, target, addend);
  539     return atomFromAddress(reloc2.symbol, targetAddress, target, addend);
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryUtils.h
  144     result.symbol     = 0;
  154     result.symbol     = bitFieldExtract(r1, isBigEndian, 0, 24);
  178     bitFieldSet(r1, isBigEndian, r.symbol,   0,  24);
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.cpp
  638                                     + Twine(reloc.symbol))
  648                                      + Twine(reloc2.symbol))
  673              + (!reloc.scattered ? (Twine(", r_symbolnum=") + Twine(reloc.symbol))
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileYAML.cpp
  362      io.mapRequired("symbol",   reloc.symbol);
tools/lld/unittests/MachOTests/MachONormalizedFileBinaryReaderTests.cpp
  291   EXPECT_EQ(call.symbol, 2U);
  297   EXPECT_EQ(str.symbol, 0U);
  418   EXPECT_EQ(call.symbol, 1U);
  549   EXPECT_EQ(call.symbol, 1U);
  692   EXPECT_EQ(bl.symbol, 1U);
tools/lld/unittests/MachOTests/MachONormalizedFileBinaryWriterTests.cpp
   55   result.symbol = sym;
   69   result.symbol = 0;
  189   EXPECT_EQ(call.symbol, 1U);
  195   EXPECT_EQ(gotLoad.symbol, 1U);
  201   EXPECT_EQ(gotUse.symbol, 1U);
  207   EXPECT_EQ(signed0.symbol, 1U);
  213   EXPECT_EQ(signed1.symbol, 1U);
  219   EXPECT_EQ(signed4.symbol, 1U);
  303   EXPECT_EQ(call.symbol, 0U);
  311   EXPECT_EQ(absLoad.symbol,0U);
  329   EXPECT_EQ(tlv.symbol, 1U);
  429   EXPECT_EQ(blx.symbol, 2U);
  459   EXPECT_EQ(absPointer.symbol, 2U);
  586   EXPECT_EQ(br24.symbol, 2U);
  594   EXPECT_EQ(br14.symbol, 2U);
  648   EXPECT_EQ(abshi1.symbol, 1U);
  654   EXPECT_EQ(abshi2.symbol, 0U);
  660   EXPECT_EQ(absha1.symbol, 1U);
  666   EXPECT_EQ(absha2.symbol, 0U);
  672   EXPECT_EQ(abslo1.symbol, 1U);
  678   EXPECT_EQ(abslo2.symbol, 0U);
  684   EXPECT_EQ(absloa1.symbol, 1U);
  690   EXPECT_EQ(absloa2.symbol, 0U);
tools/lld/unittests/MachOTests/MachONormalizedFileYAMLTests.cpp
  301   EXPECT_EQ(reloc1.symbol, 2U);
  310   EXPECT_EQ(reloc2.symbol, 1U);
  431   EXPECT_EQ(reloc1.symbol, 1U);
  439   EXPECT_EQ(reloc2.symbol, 0U);
  447   EXPECT_EQ(reloc3.symbol, 0U);
  558   EXPECT_EQ(reloc1.symbol, 0U);
  566   EXPECT_EQ(reloc2.symbol, 0U);
  575   EXPECT_EQ(reloc3.symbol, 1U);
  699   EXPECT_EQ(reloc1.symbol, 1U);
  707   EXPECT_EQ(reloc2.symbol, 0U);
  715   EXPECT_EQ(reloc3.symbol, 0U);
  723   EXPECT_EQ(reloc4.symbol, 0U);
  731   EXPECT_EQ(reloc5.symbol, 0U);