llvm-project/lld/MachO/Arch
Jez Ng a552fb2a86 [lld-macho] Have relocation address included in range-check error message
This makes it easier to debug those errors. See e.g. https://github.com/llvm/llvm-project/issues/52767#issuecomment-1028713943

We take the approach of 'reverse-engineering' the InputSection from the
output buffer offset. This provides for a cleaner Target API, and is
similar to LLD-ELF's implementation of getErrorPlace().

Reviewed By: #lld-macho, Roger

Differential Revision: https://reviews.llvm.org/D118903
2022-02-28 21:56:38 -05:00
..
ARM.cpp Use true/false instead of 1/0 (NFC) 2022-01-09 12:21:06 -08:00
ARM64.cpp [lld/mac] Set branchRange a bit more carefully 2021-08-30 12:36:06 -04:00
ARM64Common.cpp [lld-macho] Have relocation address included in range-check error message 2022-02-28 21:56:38 -05:00
ARM64Common.h [lld-macho] Have relocation address included in range-check error message 2022-02-28 21:56:38 -05:00
ARM64_32.cpp [lld-macho] Support subtractor relocations that reference sections 2021-04-20 16:58:57 -04:00
X86_64.cpp [lld-macho] Have relocation address included in range-check error message 2022-02-28 21:56:38 -05:00