aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGen.cpp
diff options
context:
space:
mode:
authorJason Molenda <jason@molenda.com>2021-12-09 22:43:39 -0800
committerJason Molenda <jason@molenda.com>2021-12-09 22:53:01 -0800
commit223e8ca02616dd9353da230d95589954927025c9 (patch)
treef35aa175e13980911ba4dce982038303775f7d46 /llvm/lib/CodeGen/CodeGen.cpp
parente5d104b2800d2ecf8b305567163abfaead059acb (diff)
downloadllvm-223e8ca02616dd9353da230d95589954927025c9.zip
llvm-223e8ca02616dd9353da230d95589954927025c9.tar.gz
llvm-223e8ca02616dd9353da230d95589954927025c9.tar.bz2
Set a default number of address bits on Darwin arm64 systems
With arm64e ARMv8.3 pointer authentication, lldb needs to know how many bits are used for addressing and how many are used for pointer auth signing. This should be determined dynamically from the inferior system / corefile, but there are some workflows where it still isn't recorded and we fall back on a default value that is correct on some Darwin environments. This patch also explicitly sets the vendor of mach-o binaries to Apple, so we select an Apple ABI instead of a random other ABI. It adds a function pointer formatter for systems where pointer authentication is in use, and we can strip the ptrauth bits off of the function pointer address and get a different value that points to an actual symbol. Differential Revision: https://reviews.llvm.org/D115431 rdar://84644661
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions