aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/MachOObjectFile.cpp
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2021-05-25 10:58:21 -0700
committerLang Hames <lhames@gmail.com>2021-05-25 12:19:09 -0700
commit249cd9dd6002836b6d4b89a940149d518e8aa48b (patch)
treed538449feab4c9fb040ee78ff1b3866aafe088bb /llvm/lib/Object/MachOObjectFile.cpp
parent2367a7bdab36cf9c51b4d2b1d726f46ed5b1a2c6 (diff)
downloadllvm-249cd9dd6002836b6d4b89a940149d518e8aa48b.zip
llvm-249cd9dd6002836b6d4b89a940149d518e8aa48b.tar.gz
llvm-249cd9dd6002836b6d4b89a940149d518e8aa48b.tar.bz2
[JITLink][MachO][arm64] Build GOT entries for defined symbols too.
During the generic x86-64 support refactor in ecf6466f01c52 the implementation of MachO_arm64_GOTAndStubsBuilder::isGOTEdgeToFix was altered to only return true for external symbols. This behavior is incorrect: GOT entries may be required for defined symbols (e.g. in the large code model). This patch fixes the bug and adds a test case for it (renaming an old test case to avoid any ambiguity).
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions