|
Revision tags: llvmorg-20.1.0, llvmorg-20.1.0-rc3, llvmorg-20.1.0-rc2, llvmorg-20.1.0-rc1, llvmorg-21-init, llvmorg-19.1.7, llvmorg-19.1.6, llvmorg-19.1.5, llvmorg-19.1.4, llvmorg-19.1.3, llvmorg-19.1.2, llvmorg-19.1.1, llvmorg-19.1.0, llvmorg-19.1.0-rc4, llvmorg-19.1.0-rc3, llvmorg-19.1.0-rc2, llvmorg-19.1.0-rc1, llvmorg-20-init, llvmorg-18.1.8, llvmorg-18.1.7, llvmorg-18.1.6, llvmorg-18.1.5, llvmorg-18.1.4, llvmorg-18.1.3, llvmorg-18.1.2, llvmorg-18.1.1, llvmorg-18.1.0, llvmorg-18.1.0-rc4, llvmorg-18.1.0-rc3, llvmorg-18.1.0-rc2, llvmorg-18.1.0-rc1, llvmorg-19-init, llvmorg-17.0.6, llvmorg-17.0.5, llvmorg-17.0.4, llvmorg-17.0.3, llvmorg-17.0.2, llvmorg-17.0.1, llvmorg-17.0.0, llvmorg-17.0.0-rc4, llvmorg-17.0.0-rc3, llvmorg-17.0.0-rc2, llvmorg-17.0.0-rc1, llvmorg-18-init, llvmorg-16.0.6, llvmorg-16.0.5, llvmorg-16.0.4, llvmorg-16.0.3, llvmorg-16.0.2, llvmorg-16.0.1, llvmorg-16.0.0, llvmorg-16.0.0-rc4, llvmorg-16.0.0-rc3, llvmorg-16.0.0-rc2, llvmorg-16.0.0-rc1, llvmorg-17-init, llvmorg-15.0.7, llvmorg-15.0.6, llvmorg-15.0.5, llvmorg-15.0.4, llvmorg-15.0.3, llvmorg-15.0.2, llvmorg-15.0.1, llvmorg-15.0.0, llvmorg-15.0.0-rc3, llvmorg-15.0.0-rc2, llvmorg-15.0.0-rc1, llvmorg-16-init, llvmorg-14.0.6, llvmorg-14.0.5, llvmorg-14.0.4, llvmorg-14.0.3, llvmorg-14.0.2, llvmorg-14.0.1, llvmorg-14.0.0, llvmorg-14.0.0-rc4, llvmorg-14.0.0-rc3, llvmorg-14.0.0-rc2, llvmorg-14.0.0-rc1, llvmorg-15-init, llvmorg-13.0.1, llvmorg-13.0.1-rc3, llvmorg-13.0.1-rc2 |
|
| #
b8336280 |
| 01-Jan-2022 |
Kazu Hirata <[email protected]> |
[lldb] Use nullptr instead of 0 or NULL (NFC)
This is a re-submission of 24d240558811604354a8d6080405f6bad8d15b5c without the hunks in HostNativeThreadBase.{h,cpp}, which break builds on Windows.
I
[lldb] Use nullptr instead of 0 or NULL (NFC)
This is a re-submission of 24d240558811604354a8d6080405f6bad8d15b5c without the hunks in HostNativeThreadBase.{h,cpp}, which break builds on Windows.
Identified with modernize-use-nullptr.
show more ...
|
| #
95f7112b |
| 01-Jan-2022 |
Kazu Hirata <[email protected]> |
Revert "[lldb] Use nullptr instead of 0 or NULL (NFC)"
This reverts commit 913457acf07be7f22d71ac41ad1076517d7f45c6.
It again broke builds on Windows:
lldb/source/Host/common/HostNativeThreadBas
Revert "[lldb] Use nullptr instead of 0 or NULL (NFC)"
This reverts commit 913457acf07be7f22d71ac41ad1076517d7f45c6.
It again broke builds on Windows:
lldb/source/Host/common/HostNativeThreadBase.cpp(37,14): error: assigning to 'lldb::thread_result_t' (aka 'unsigned int') from incompatible type 'std::nullptr_t'
show more ...
|
| #
913457ac |
| 01-Jan-2022 |
Kazu Hirata <[email protected]> |
[lldb] Use nullptr instead of 0 or NULL (NFC)
This is a re-submission of 24d240558811604354a8d6080405f6bad8d15b5c without the hunk in HostNativeThreadBase.h, which breaks builds on Windows.
Identif
[lldb] Use nullptr instead of 0 or NULL (NFC)
This is a re-submission of 24d240558811604354a8d6080405f6bad8d15b5c without the hunk in HostNativeThreadBase.h, which breaks builds on Windows.
Identified with modernize-use-nullptr.
show more ...
|
| #
4f2eeb6a |
| 01-Jan-2022 |
Nico Weber <[email protected]> |
Revert "[lldb] Use nullptr instead of 0 or NULL (NFC)"
This reverts commit 24d240558811604354a8d6080405f6bad8d15b5c. Breaks building on Windows:
../../lldb/include\lldb/Host/HostNativeThreadBas
Revert "[lldb] Use nullptr instead of 0 or NULL (NFC)"
This reverts commit 24d240558811604354a8d6080405f6bad8d15b5c. Breaks building on Windows:
../../lldb/include\lldb/Host/HostNativeThreadBase.h(49,36): error: cannot initialize a member subobject of type 'lldb::thread_result_t' (aka 'unsigned int') with an rvalue of type 'std::nullptr_t' lldb::thread_result_t m_result = nullptr; ^~~~~~~ 1 error generated.
show more ...
|
| #
24d24055 |
| 01-Jan-2022 |
Kazu Hirata <[email protected]> |
[lldb] Use nullptr instead of 0 or NULL (NFC)
Identified with modernize-use-nullptr.
|
| #
fa126069 |
| 17-Dec-2021 |
Jonas Devlieghere <[email protected]> |
[lldb] Remove reproducer replay functionality
This is part of a bigger rework of the reproducer feature. See [1] for more details.
[1] https://lists.llvm.org/pipermail/lldb-dev/2021-September/01704
[lldb] Remove reproducer replay functionality
This is part of a bigger rework of the reproducer feature. See [1] for more details.
[1] https://lists.llvm.org/pipermail/lldb-dev/2021-September/017045.html
show more ...
|
|
Revision tags: llvmorg-13.0.1-rc1, llvmorg-13.0.0, llvmorg-13.0.0-rc4, llvmorg-13.0.0-rc3, llvmorg-13.0.0-rc2, llvmorg-13.0.0-rc1, llvmorg-14-init, llvmorg-12.0.1, llvmorg-12.0.1-rc4, llvmorg-12.0.1-rc3, llvmorg-12.0.1-rc2, llvmorg-12.0.1-rc1, llvmorg-12.0.0, llvmorg-12.0.0-rc5 |
|
| #
18dbe0f9 |
| 01-Apr-2021 |
Raphael Isemann <[email protected]> |
[lldb] Prevent that LLDB randomly crashes in CommandLineParser::addOption by initializing LLVM's command line parser
Since quite a while Apple's LLDB fork (that contains the Swift debugging support)
[lldb] Prevent that LLDB randomly crashes in CommandLineParser::addOption by initializing LLVM's command line parser
Since quite a while Apple's LLDB fork (that contains the Swift debugging support) is randomly crashing in `CommandLineParser::addOption` with an error such as `CommandLine Error: Option 'h' registered more than once!`
The backtrace of the crashing thread is shown below. There are also usually many other threads also performing similar clang::FrontendActions which are all trying to generate (usually outdated) Clang modules which are used by Swift for various reasons.
``` [ 6] LLDB`CommandLineParser::addOption(llvm::cl::Option*, llvm::cl::SubCommand*) + 856 [ 7] LLDB`CommandLineParser::addOption(llvm::cl::Option*, llvm::cl::SubCommand*) + 733 [ 8] LLDB`CommandLineParser::addOption(llvm::cl::Option*, bool) + 184 [ 9] LLDB`llvm::cl::ParseCommandLineOptions(...) [inlined] ::CommandLineParser::ParseCommandLineOptions(... + 1279 [ 9] LLDB`llvm::cl::ParseCommandLineOptions(...) + 497 [ 10] LLDB`setCommandLineOpts(clang::CodeGenOptions const&) + 416 [ 11] LLDB`EmitAssemblyHelper::EmitAssemblyWithNewPassManager(...) + 98 [ 12] LLDB`clang::EmitBackendOutput(...) + 4580 [ 13] LLDB`PCHContainerGenerator::HandleTranslationUnit(clang::ASTContext&) + 871 [ 14] LLDB`clang::MultiplexConsumer::HandleTranslationUnit(clang::ASTContext&) + 43 [ 15] LLDB`clang::ParseAST(clang::Sema&, bool, bool) + 579 [ 16] LLDB`clang::FrontendAction::Execute() + 74 [ 17] LLDB`clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 1808 ```
The underlying reason for the crash is that the CommandLine code in LLVM isn't thread-safe and will never be thread-safe with its current architecture. The way LLVM's CommandLine logic works is that all parts of the LLVM can provide command line arguments by defining `cl::opt` global variables and their constructors (which are invoked during static initialisation) register the variable in LLVM's CommandLineParser (which is also just a global variable). At some later point after static initialization we actually try to parse command line arguments and we ask the CommandLineParser to parse our `argv`. The CommandLineParser then lazily constructs it's internal parsing state in a non-thread-safe way (this is where the crash happens), parses the provided command line and then goes back to the respective `cl::opt` global variables and sets their values according to the parse result.
As all of this is based on global state, this whole mechanism isn't thread-safe so the only time to ever use it is when we know we only have one active thread dealing with LLVM logic. That's why nearly all callers of `llvm::cl::ParseCommandLineOptions` are at the top of the `main` function of the some LLVM-based tool. One of the few exceptions to this rule is in the `setCommandLineOpts` function in `BackendUtil.cpp` which is in our backtrace:
``` static void setCommandLineOpts(const CodeGenOptions &CodeGenOpts) { SmallVector<const char *, 16> BackendArgs; BackendArgs.push_back("clang"); // Fake program name. if (!CodeGenOpts.DebugPass.empty()) { BackendArgs.push_back("-debug-pass"); BackendArgs.push_back(CodeGenOpts.DebugPass.c_str()); } if (!CodeGenOpts.LimitFloatPrecision.empty()) { BackendArgs.push_back("-limit-float-precision"); BackendArgs.push_back(CodeGenOpts.LimitFloatPrecision.c_str()); } BackendArgs.push_back(nullptr); llvm::cl::ParseCommandLineOptions(BackendArgs.size() - 1, BackendArgs.data()); } ```
This is trying to set `cl::opt` variables in the LLVM backend to their right value as the passed via CodeGenOptions by invoking the CommandLine parser. As this is just in some generic Clang CodeGen code (where we allow having multiple threads) this is code is clearly wrong. If we're unlucky it either overwrites the value of the global variables or it causes the CommandLine parser to crash.
So the next question is why is this only crashing in LLDB? The main reason seems to be that easiest way to crash this code is to concurrently enter the initial CommandLineParser construction where it tries to collect all the registered `cl::opt` options and checks for sanity:
``` // If it's a DefaultOption, check to make sure it isn't already there. if (O->isDefaultOption() && SC->OptionsMap.find(O->ArgStr) != SC->OptionsMap.end()) return;
// Add argument to the argument map! if (!SC->OptionsMap.insert(std::make_pair(O->ArgStr, O)).second) { errs() << ProgramName << ": CommandLine Error: Option '" << O->ArgStr << "' registered more than once!\n"; HadErrors = true; } ```
The `OptionsMap` here is global variable and if we end up in this code with two threads at once then two threads at the same time can register an option (such as 'h') when they pass the first `if` and then we fail with the sanity check in the second `if`.
After this sanity check and initial setup code the only remaining work is just parsing the provided CommandLine which isn't thread-safe but at least doesn't crash in all my attempts at breaking it (as it's usually just reading from the already generated parser state but not further modifying it). The exception to this is probably that once people actually specify the options in the code snippet above we might run into some new interesting ways to crash everything.
To go back to why it's only affecting LLDB: Nearly all LLVM tools I could find (even if they are using threads) seem to call the CommandLine parser at the start so they all execute the initial parser setup at a point where there is only one thread. So once the code above is executed they are mostly safe from the sanity check crashes. We even have some shady code for the gtest `main` in `TestMain.cpp` which is why this also doesn't affect unit tests.
The only exception to this rule is ... *drum roll* ... LLDB! it's not using that CommandLine library for parsing options so it also never ends up calling it in `main`. So when we end up in the `FrontendAction` code from the backtrace we are already very deep in some LLDB logic and usually already have several threads. In a situation where Swift decides to compile a large amount of Clang modules in parallel we then end up entering this code via several threads. If several threads reach this code at the same time we end up in the situation where the sanity-checking code of CommandLine crashes. I have a very reliable way of demonstrating the whole thing in D99650 (just run the unit test several times, it usually crashes after 3-4 attempts).
We have several ways to fix this:
1. Make the whole CommandLine mechanism in LLVM thread-safe.
2. Get rid of `setCommandLineOpts` in `BackendUtil.cpp` and other callers of the command line parsing in generic Clang code.
3. Initialise the CommandLine library in a safe point in LLDB.
Option 1 is just a lot of work and I'm not even sure where to start. The whole mechanism is based on global variables and global state and this seems like a humongous task.
Option 2 is probably the best thing we can do in the near future. There are only two callers of the command line parser in generic Clang code. The one in `BackendUtils.cpp` looks like it can be replaced with some reasonable refactoring (as it only deals with two specific options). There is another one in `ExecuteCompilerInvocation` which deals with forwarding the generic `-mllvm` options to the backend which seems like it will just end up requiring us to do Option 1.
Option 3 is what this patch is doing. We just parse some dummy command line invocation in a point of the LLDB execution where we only have one thread that is dealing with LLVM/Clang stuff. This way we are at least prevent the frequent crashes for users as parsing the dummy command line invocation will set up the initial parser state safely.
Fixes rdar://70989856
Reviewed By: mib, JDevlieghere
Differential Revision: https://reviews.llvm.org/D99652
show more ...
|
|
Revision tags: llvmorg-12.0.0-rc4, llvmorg-12.0.0-rc3, llvmorg-12.0.0-rc2 |
|
| #
004a264f |
| 15-Feb-2021 |
Pavel Labath <[email protected]> |
[lldb] Fix shared library directory computation on windows
Our code for locating the shared library directory works via dladdr (or the windows equivalent) to locate the path of an address known to r
[lldb] Fix shared library directory computation on windows
Our code for locating the shared library directory works via dladdr (or the windows equivalent) to locate the path of an address known to reside in liblldb. This works great for C++ programs, but there's a catch.
When (lib)lldb is used from python (like in our test suite), this dladdr call will return a path to the _lldb.so (or such) file in the python directory. To compensate for this, we have code which attempts to resolve this symlink, to ensure we get the canonical location. However, here's the second catch.
On windows, this file is not a symlink (but a copy), so this logic fails. Since most of our other paths are derived from the liblldb location, all of these paths will be wrong, when running the test suite. One effect of this was the failure to find lldb-server in D96202.
To fix this issue, I add some windows-specific code to locate the liblldb directory. Since it cannot rely on symlinks, it works by manually walking the directory tree -- essentially doing the opposite of what we do when computing the python directory.
To avoid python leaking back into the host code, I implement this with the help of a callback which can be passed to HostInfo::Initialize in order to assist with the directory location. The callback lives inside the python plugin.
I also strenghten the existing path test to ensure the returned path is the right one.
Differential Revision: https://reviews.llvm.org/D96779
show more ...
|
|
Revision tags: llvmorg-11.1.0, llvmorg-11.1.0-rc3, llvmorg-12.0.0-rc1, llvmorg-13-init, llvmorg-11.1.0-rc2, llvmorg-11.1.0-rc1 |
|
| #
5c1c8443 |
| 21-Dec-2020 |
Jonas Devlieghere <[email protected]> |
[lldb] Abstract scoped timer logic behind LLDB_SCOPED_TIMER (NFC)
This patch introduces a LLDB_SCOPED_TIMER macro to hide the needlessly repetitive creation of scoped timers in LLDB. It's similar to
[lldb] Abstract scoped timer logic behind LLDB_SCOPED_TIMER (NFC)
This patch introduces a LLDB_SCOPED_TIMER macro to hide the needlessly repetitive creation of scoped timers in LLDB. It's similar to the LLDB_LOG(F) macro.
Differential revision: https://reviews.llvm.org/D93663
show more ...
|
|
Revision tags: llvmorg-11.0.1, llvmorg-11.0.1-rc2, llvmorg-11.0.1-rc1 |
|
| #
8da14fb7 |
| 10-Nov-2020 |
Jonas Devlieghere <[email protected]> |
[lldb] Propagate llvm::Error to report_fatal_error
Instead of having a custom error message, propagate the llvm::Error from SystemInitializerCommon. I didn't realize we had this overload until Pavel
[lldb] Propagate llvm::Error to report_fatal_error
Instead of having a custom error message, propagate the llvm::Error from SystemInitializerCommon. I didn't realize we had this overload until Pavel mentioned it in D90987 today.
show more ...
|
| #
b31d7879 |
| 09-Nov-2020 |
Jonas Devlieghere <[email protected]> |
[lldb] Avoid confusing reproducer crashes when initialization failed
During active replay, the ::Initialize call is replayed like any other SB API call and the return value is ignored. Since we can'
[lldb] Avoid confusing reproducer crashes when initialization failed
During active replay, the ::Initialize call is replayed like any other SB API call and the return value is ignored. Since we can't intercept this, we terminate here before the uninitialized debugger inevitably crashes.
Differential revision: https://reviews.llvm.org/D90987
show more ...
|
| #
8a203bb2 |
| 14-Oct-2020 |
Walter Erquinigo <[email protected]> |
[trace] rename ThreadIntelPT into TraceTrace
Renamed ThreadIntelPT to TreaceThread, making it a top-level class. I noticed that this class can and shuld work for any trace plugin and there's nothing
[trace] rename ThreadIntelPT into TraceTrace
Renamed ThreadIntelPT to TreaceThread, making it a top-level class. I noticed that this class can and shuld work for any trace plugin and there's nothing intel-pt specific in it. With that TraceThread change, I was able to move most of the json file parsing logic to the base class TraceSessionFileParser, which makes adding new plug-ins easier.
This originally was part of https://reviews.llvm.org/D89283
Differential Revision: https://reviews.llvm.org/D89408
show more ...
|
|
Revision tags: llvmorg-11.0.0, llvmorg-11.0.0-rc6, llvmorg-11.0.0-rc5, llvmorg-11.0.0-rc4, llvmorg-11.0.0-rc3, llvmorg-11.0.0-rc2, llvmorg-11.0.0-rc1, llvmorg-12-init, llvmorg-10.0.1, llvmorg-10.0.1-rc4, llvmorg-10.0.1-rc3, llvmorg-10.0.1-rc2, llvmorg-10.0.1-rc1, llvmorg-10.0.0, llvmorg-10.0.0-rc6, llvmorg-10.0.0-rc5, llvmorg-10.0.0-rc4, llvmorg-10.0.0-rc3 |
|
| #
80c3ea4e |
| 19-Feb-2020 |
Jonas Devlieghere <[email protected]> |
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 s
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
show more ...
|
| #
ebf9a99b |
| 18-Feb-2020 |
Jonas Devlieghere <[email protected]> |
[lldb/Plugin] Reject WASM and Hexagon in DynamicLoaderStatic
The WASM and Hexagon plugin check the ArchType rather than the OSType, so explicitly reject those in the DynamicLoaderStatic.
Differenti
[lldb/Plugin] Reject WASM and Hexagon in DynamicLoaderStatic
The WASM and Hexagon plugin check the ArchType rather than the OSType, so explicitly reject those in the DynamicLoaderStatic.
Differential revision: https://reviews.llvm.org/D74780
show more ...
|
| #
2d146aa2 |
| 18-Feb-2020 |
Jonas Devlieghere <[email protected]> |
[lldb/Plugin] Generate LLDB_PLUGIN_DECLARE with CMake
Generate the LLDB_PLUGIN_DECLARE macros with CMake and a def file. I'm landing D73067 in pieces so I can bisect what exactly is breaking the Win
[lldb/Plugin] Generate LLDB_PLUGIN_DECLARE with CMake
Generate the LLDB_PLUGIN_DECLARE macros with CMake and a def file. I'm landing D73067 in pieces so I can bisect what exactly is breaking the Windows bot.
show more ...
|
| #
884a5894 |
| 18-Feb-2020 |
Jonas Devlieghere <[email protected]> |
[lldb/Plugin] Unconditionally initialize DynamicLoaderDarwinKernel
Other plugins depend on DynamicLoaderDarwinKernel and which means we cannot conditionally enable/build this plugin based on the tar
[lldb/Plugin] Unconditionally initialize DynamicLoaderDarwinKernel
Other plugins depend on DynamicLoaderDarwinKernel and which means we cannot conditionally enable/build this plugin based on the target platform. This means that it will be past of the list of plugins initialized once that's autogenerated.
show more ...
|
| #
866b7a65 |
| 18-Feb-2020 |
Jonas Devlieghere <[email protected]> |
[lldb] Replace empty ctor en dtor bodies with =default (NFC)
Use = default instead of empty constructor and destructor bodies in the API layer.
|
| #
aa2ae6af |
| 18-Feb-2020 |
Jonas Devlieghere <[email protected]> |
[lldb/Plugins] Add missing initialize/terminate calls
Add missing initialize and terminate calls for DynamicLoaderHexagonDYLD and ObjectFileJIT.
|
| #
ccad1948 |
| 18-Feb-2020 |
Jonas Devlieghere <[email protected]> |
[lldb/Plugins] Rename initializers to match their plugin name.
Use LLDB_PLUGIN_DEFINE_ADV to make the name of the generated initializer match the name of the plugin. This is a step towards generatin
[lldb/Plugins] Rename initializers to match their plugin name.
Use LLDB_PLUGIN_DEFINE_ADV to make the name of the generated initializer match the name of the plugin. This is a step towards generating the initializers with a def file. I'm landing this change in pieces so I can narrow down what exactly breaks the Windows bot.
show more ...
|
| #
bcde387f |
| 18-Feb-2020 |
Jonas Devlieghere <[email protected]> |
[lldb/Plugins] Initialize all ABI plugins by their plugin name
|
| #
50c9cd95 |
| 18-Feb-2020 |
Jonas Devlieghere <[email protected]> |
Revert "[lldb/CMake] Auto-generate the Initialize and Terminate calls for plugin"
This is still failing spectacularly on the Windows bot and I still have no clue what's going on.
|
| #
9b12dc98 |
| 17-Feb-2020 |
Jonas Devlieghere <[email protected]> |
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 s
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.
The previously landed patch got reverted because it was lacking:
(1) A plugin definition for the Objective-C language runtime, (2) The dependency between the Static and WASM dynamic loader, (3) Explicit initialization of ScriptInterpreterNone for lldb-test.
All issues have been addressed in this patch.
Differential revision: https://reviews.llvm.org/D73067
show more ...
|
| #
46c4f63e |
| 17-Feb-2020 |
Jonas Devlieghere <[email protected]> |
[lldb/Plugin] Update ProcessWindows plugin for revert
|
| #
058cb1b4 |
| 17-Feb-2020 |
Jonas Devlieghere <[email protected]> |
Revert "[lldb/CMake] Auto-generate the Initialize and Terminate calls for plugin"
This temporarily reverts commit 7d6da329dee1eda1761430d9097d1323f32c4c0c because it's causing test failures on the b
Revert "[lldb/CMake] Auto-generate the Initialize and Terminate calls for plugin"
This temporarily reverts commit 7d6da329dee1eda1761430d9097d1323f32c4c0c because it's causing test failures on the bots.
show more ...
|
| #
7d6da329 |
| 17-Feb-2020 |
Jonas Devlieghere <[email protected]> |
[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
[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.
Differential revision: https://reviews.llvm.org/D73067
show more ...
|