[all-commits] [llvm/llvm-project] b8a8c2: Allow DynamicLoaderDarwinKernel to activate withou...

Jason Molenda via All-commits all-commits at lists.llvm.org
Mon Oct 10 10:19:26 PDT 2022


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

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

  Log Message:
  -----------
  Allow DynamicLoaderDarwinKernel to activate without binary

In https://reviews.llvm.org/D133534 I made a little cleanup
to DynamicLoaderDarwinKernel::CreateInstance and unintentionally
changed the logic.  Previously it would not create an instance
if there was a binary given to lldb and it was not a kernel.
With my change, the absence of any binary would also cause it
to not create.  So connecting to a kernel without any binaries
would fail.

rdar://100985097




More information about the All-commits mailing list