[all-commits] [llvm/llvm-project] de24b0: Strip authentication bits from vtable load address...

Jason Molenda via All-commits all-commits at lists.llvm.org
Fri Nov 3 16:26:25 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: de24b0ef94bc0c4483e39e1bad75dbec793f2b94
      https://github.com/llvm/llvm-project/commit/de24b0ef94bc0c4483e39e1bad75dbec793f2b94
  Author: Jason Molenda <jmolenda at apple.com>
  Date:   2023-11-03 (Fri, 03 Nov 2023)

  Changed paths:
    M lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.cpp

  Log Message:
  -----------
  Strip authentication bits from vtable load address (#71128)

The current Darwin arm64e ABI on AArch64 systems using ARMv8.3 & newer
cores, adds authentication bits to the vtable pointer address. The
vtable address must be in addressable memory, so running it through
Process::FixDataAddress will be a no-op on other targets.

This was originally a downstream change that I hadn't upstreamed yet,
and it was surfaced by Greg's changes in
https://github.com/llvm/llvm-project/pull/67599
so I needed to update the local patch, and was reminded that I should
upstream this.




More information about the All-commits mailing list