diff options
author | Nick Kledzik <kledzik@apple.com> | 2014-11-18 00:30:22 +0000 |
---|---|---|
committer | Nick Kledzik <kledzik@apple.com> | 2014-11-18 00:30:22 +0000 |
commit | f6e5ace974b6949297e228ed2afd09b9ff628e6f (patch) | |
tree | 41cdcc69e2eba76ac4b22f70b9c79b85a266a8cc /clang/lib/CodeGen/ModuleBuilder.cpp | |
parent | 68c42ecae05e1a28c90d600e1d61bf068713f270 (diff) | |
download | llvm-f6e5ace974b6949297e228ed2afd09b9ff628e6f.zip llvm-f6e5ace974b6949297e228ed2afd09b9ff628e6f.tar.gz llvm-f6e5ace974b6949297e228ed2afd09b9ff628e6f.tar.bz2 |
[mach-o] enhance arm64 reloc parser to support local pointer relocations
The arm64 assembler almost always uses r_extern=1 relocations in which the
r_symbolnum field is the index of the symbol the relocation references. But
sometimes it will set r_extern=0 in which case the linker needs to read the
content of the reloction to determine the target.
Add test case that the r_extern=0 relocation round trips.
llvm-svn: 222200
Diffstat (limited to 'clang/lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions