diff options
author | Kuba Brecka <kuba.brecka@gmail.com> | 2014-10-11 01:59:32 +0000 |
---|---|---|
committer | Kuba Brecka <kuba.brecka@gmail.com> | 2014-10-11 01:59:32 +0000 |
commit | 6392754839ebf14b8e2044da19d23a158db77207 (patch) | |
tree | d789774e9d55202114fb265ae60029c9b0c05e51 /lldb/scripts/Python/interface | |
parent | 19c2e631bd0264cdb48dcdefa0186913e55b72fb (diff) | |
download | bcm5719-llvm-6392754839ebf14b8e2044da19d23a158db77207.tar.gz bcm5719-llvm-6392754839ebf14b8e2044da19d23a158db77207.zip |
Add a IsInstrumentationRuntimePresent SB API
Reviewed at http://reviews.llvm.org/D5738
This adds an SB API into SBProcess:
bool SBProcess::IsInstrumentationRuntimePresent(InstrumentationRuntimeType type);
which simply tells whether a particular InstrumentationRuntime (read "ASan") plugin is present and active.
llvm-svn: 219560
Diffstat (limited to 'lldb/scripts/Python/interface')
-rw-r--r-- | lldb/scripts/Python/interface/SBProcess.i | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/scripts/Python/interface/SBProcess.i b/lldb/scripts/Python/interface/SBProcess.i index dce930c350b..e6f5464d0e6 100644 --- a/lldb/scripts/Python/interface/SBProcess.i +++ b/lldb/scripts/Python/interface/SBProcess.i @@ -391,6 +391,9 @@ public: lldb::SBThreadCollection GetHistoryThreads (addr_t addr); + + bool + IsInstrumentationRuntimePresent(lldb::InstrumentationRuntimeType type); %pythoncode %{ def __get_is_alive__(self): |