[all-commits] [llvm/llvm-project] 8b0927: Using global variable in xnu kernel, set # of addr...

Jason Molenda via All-commits all-commits at lists.llvm.org
Mon Apr 3 13:51:54 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8b092714c304defb00876a01995af3b114dadc92
      https://github.com/llvm/llvm-project/commit/8b092714c304defb00876a01995af3b114dadc92
  Author: Jason Molenda <jason at molenda.com>
  Date:   2023-04-03 (Mon, 03 Apr 2023)

  Changed paths:
    M lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp

  Log Message:
  -----------
  Using global variable in xnu kernel, set # of addressable bits

The kernel has a global variable with the TCR_EL1.T1SZ value,
from which was can calculate the number of addressable bits.
Find that symbol in DynamicLoaderDarwinKernel and set the bits
to that value for this Process.

Differential Revision: https://reviews.llvm.org/D147462
rdar://107445318




More information about the All-commits mailing list