[all-commits] [llvm/llvm-project] bbb419: [lldb] Add IsFullyInitialized to DynamicLoader

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Thu Mar 25 15:44:56 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bbb419151cc8994b3447f184fe841e87e159e5a3
      https://github.com/llvm/llvm-project/commit/bbb419151cc8994b3447f184fe841e87e159e5a3
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2021-03-25 (Thu, 25 Mar 2021)

  Changed paths:
    M lldb/include/lldb/Target/DynamicLoader.h
    M lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.cpp
    M lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.h

  Log Message:
  -----------
  [lldb] Add IsFullyInitialized to DynamicLoader

On Darwin based systems, lldb will get notified by dyld before it itself
finished initializing, at which point it's not safe to call certain APIs
or SPIs. Add a method to the DynamicLoader to query that.

Differential revision: https://reviews.llvm.org/D99314




More information about the All-commits mailing list