[all-commits] [llvm/llvm-project] 80c3ea: Re-land "[lldb/CMake] Auto-generate the Initialize...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Tue Feb 18 19:16:15 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 80c3ea4e633b440cb4bc2c36856d811353e474bb
      https://github.com/llvm/llvm-project/commit/80c3ea4e633b440cb4bc2c36856d811353e474bb
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2020-02-18 (Tue, 18 Feb 2020)

  Changed paths:
    M lldb/source/API/SystemInitializerFull.cpp
    M lldb/source/Plugins/CMakeLists.txt
    M lldb/source/Plugins/Plugins.def.in
    M lldb/tools/lldb-test/SystemInitializerTest.cpp

  Log Message:
  -----------
  Re-land "[lldb/CMake] Auto-generate the Initialize and Terminate calls for plugin"

This patch changes the way we initialize and terminate the plugins in
the system initializer. It uses an approach similar to LLVM's
TARGETS_TO_BUILD with a def file that enumerates the plugins.

Previous attempts to land this failed on the Windows bot because there's
a dependency between the different process plugins. Apparently
ProcessWindowsCommon needs to be initialized after all other process
plugins but before ProcessGDBRemote.

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




More information about the All-commits mailing list