diff options
| author | Peng Guo <peng_guo@apple.com> | 2020-10-16 13:47:46 -0700 |
|---|---|---|
| committer | Daniel Sanders <daniel_l_sanders@apple.com> | 2020-10-16 14:30:22 -0700 |
| commit | 109113015ebeeceec862fc53a678b3619a879ce4 (patch) | |
| tree | 73f4b1056e1d7f968e53d465ca61c777981e1989 /llvm/lib/Object/TapiFile.cpp | |
| parent | f16cecf3752a7c168293934d2ba6472a6b405694 (diff) | |
| download | llvm-109113015ebeeceec862fc53a678b3619a879ce4.zip llvm-109113015ebeeceec862fc53a678b3619a879ce4.tar.gz llvm-109113015ebeeceec862fc53a678b3619a879ce4.tar.bz2 | |
[objdump][macho] Check arch before formating reloc name as arm64 addend
Before formating ARM64_RELOC_ADDEND relocation target name as a hex
number, the architecture need to be checked since other architectures
can define a different relocation type with the same integer as
ARM64_RELOC_ADDEND.
Reviewed By: MaskRay
Differential Revision: https://reviews.llvm.org/D89094
Diffstat (limited to 'llvm/lib/Object/TapiFile.cpp')
0 files changed, 0 insertions, 0 deletions
