[all-commits] [llvm/llvm-project] 3d8d9c: PlatformDarwinKernel calls the ctor directly, not ...

Jason Molenda via All-commits all-commits at lists.llvm.org
Thu Oct 13 16:30:24 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3d8d9c9884db2b2a0fbd518990019b24de6f72d8
      https://github.com/llvm/llvm-project/commit/3d8d9c9884db2b2a0fbd518990019b24de6f72d8
  Author: Jason Molenda <jason at molenda.com>
  Date:   2022-10-13 (Thu, 13 Oct 2022)

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

  Log Message:
  -----------
  PlatformDarwinKernel calls the ctor directly, not setting no-jit

Fix a small thinko in https://reviews.llvm.org/D133534 .  Normally
DynamicLoaderDarwinKernels are created via the CreateInstance plugin
method, and that plugin method sets the Process CanJIT to false.
In the above patch, I added a new code path that can call the
DynamicLoaderDarwinKernel ctor directly, without going through
CreateInstance, and CanJIT was not being correctly set for the
process.

rdar://101148552




More information about the All-commits mailing list