summaryrefslogtreecommitdiffstats
path: root/lldb/source/lldb.cpp
diff options
context:
space:
mode:
authorKuba Brecka <kuba.brecka@gmail.com>2014-09-04 01:03:18 +0000
committerKuba Brecka <kuba.brecka@gmail.com>2014-09-04 01:03:18 +0000
commitbeed821ffb058c164a885f96f2308c71cc7b632c (patch)
tree934e92deb6a97470ddbe389447d1daa20f4bc719 /lldb/source/lldb.cpp
parent13046deef35374954dcbd164ba2f56f3166648e6 (diff)
downloadbcm5719-llvm-beed821ffb058c164a885f96f2308c71cc7b632c.tar.gz
bcm5719-llvm-beed821ffb058c164a885f96f2308c71cc7b632c.zip
ASan malloc/free history threads
Reviewed at http://reviews.llvm.org/D4596 llvm-svn: 217116
Diffstat (limited to 'lldb/source/lldb.cpp')
-rw-r--r--lldb/source/lldb.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/source/lldb.cpp b/lldb/source/lldb.cpp
index cd620b7945b..cb2af8a081d 100644
--- a/lldb/source/lldb.cpp
+++ b/lldb/source/lldb.cpp
@@ -92,6 +92,7 @@
#include "Plugins/Platform/gdb-server/PlatformRemoteGDBServer.h"
#include "Plugins/Process/gdb-remote/ProcessGDBRemote.h"
#include "Plugins/DynamicLoader/Static/DynamicLoaderStatic.h"
+#include "Plugins/MemoryHistory/asan/MemoryHistoryASan.h"
using namespace lldb;
using namespace lldb_private;
@@ -154,6 +155,7 @@ lldb_private::Initialize ()
#endif
JITLoaderGDB::Initialize();
ProcessElfCore::Initialize();
+ MemoryHistoryASan::Initialize();
#if defined (__APPLE__)
//----------------------------------------------------------------------
@@ -244,6 +246,7 @@ lldb_private::Terminate ()
#endif
JITLoaderGDB::Terminate();
ProcessElfCore::Terminate();
+ MemoryHistoryASan::Terminate();
#if defined (__APPLE__)
DynamicLoaderMacOSXDYLD::Terminate();
OpenPOWER on IntegriCloud