diff options
author | Nick Kledzik <kledzik@apple.com> | 2014-11-18 00:30:17 +0000 |
---|---|---|
committer | Nick Kledzik <kledzik@apple.com> | 2014-11-18 00:30:17 +0000 |
commit | 60db3549e2a2dbd21b9201256f0898d78db4daed (patch) | |
tree | 41cdcc69e2eba76ac4b22f70b9c79b85a266a8cc /clang/lib/CodeGen/ModuleBuilder.cpp | |
parent | 218f7199ca3d6b65cd600c9fa93983d0d7173c61 (diff) | |
download | llvm-60db3549e2a2dbd21b9201256f0898d78db4daed.zip llvm-60db3549e2a2dbd21b9201256f0898d78db4daed.tar.gz llvm-60db3549e2a2dbd21b9201256f0898d78db4daed.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: 222198
Diffstat (limited to 'clang/lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions