diff options
author | Andrew MacPherson <andrew.macp@gmail.com> | 2014-03-05 10:12:43 +0000 |
---|---|---|
committer | Andrew MacPherson <andrew.macp@gmail.com> | 2014-03-05 10:12:43 +0000 |
commit | 17220c188635721e948cf02d2b6ad36b267ea393 (patch) | |
tree | 0cebe606271d0bacf3c3994fe8fead07fd36e092 /lldb/source/lldb.cpp | |
parent | 05511fd3e61f476c142eec090d5a36869ad90db1 (diff) | |
download | bcm5719-llvm-17220c188635721e948cf02d2b6ad36b267ea393.tar.gz bcm5719-llvm-17220c188635721e948cf02d2b6ad36b267ea393.zip |
Add support for JIT debugging on Linux using the GDB JIT interface. Patch written with Keno Fischer.
llvm-svn: 202956
Diffstat (limited to 'lldb/source/lldb.cpp')
-rw-r--r-- | lldb/source/lldb.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/source/lldb.cpp b/lldb/source/lldb.cpp index 4817e7f2b44..c0a8545f504 100644 --- a/lldb/source/lldb.cpp +++ b/lldb/source/lldb.cpp @@ -72,6 +72,7 @@ #if defined (__linux__) #include "Plugins/Process/Linux/ProcessLinux.h" +#include "Plugins/JITLoader/GDB/JITLoaderGDB.h" #endif #if defined (__FreeBSD__) @@ -149,6 +150,7 @@ lldb_private::Initialize () // Linux hosted plugins //---------------------------------------------------------------------- ProcessLinux::Initialize(); + JITLoaderGDB::Initialize(); #endif #if defined (__FreeBSD__) ProcessFreeBSD::Initialize(); @@ -231,6 +233,7 @@ lldb_private::Terminate () #if defined (__linux__) ProcessLinux::Terminate(); + JITLoaderGDB::Terminate(); #endif #if defined (__FreeBSD__) |