diff options
| author | Vedant Kumar <vsk@apple.com> | 2016-08-11 17:28:37 +0000 |
|---|---|---|
| committer | Vedant Kumar <vsk@apple.com> | 2016-08-11 17:28:37 +0000 |
| commit | 1c23c148087c06653d4104c4ac223067ef047968 (patch) | |
| tree | e76b1d9168bfd9d18a11710264a14aaa5594e0a3 /lldb/source/Plugins/InstrumentationRuntime/ThreadSanitizer/ThreadSanitizerRuntime.h | |
| parent | a4fa2e299a983dbe73992648e114d39106185449 (diff) | |
| download | bcm5719-llvm-1c23c148087c06653d4104c4ac223067ef047968.tar.gz bcm5719-llvm-1c23c148087c06653d4104c4ac223067ef047968.zip | |
[InstrumentationRuntime] Refactor the API (Part 2/N) (NFCI)
Factor out some common logic used to find the runtime library in a list
of modules.
Differential Revision: https://reviews.llvm.org/D23150
llvm-svn: 278368
Diffstat (limited to 'lldb/source/Plugins/InstrumentationRuntime/ThreadSanitizer/ThreadSanitizerRuntime.h')
| -rw-r--r-- | lldb/source/Plugins/InstrumentationRuntime/ThreadSanitizer/ThreadSanitizerRuntime.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/lldb/source/Plugins/InstrumentationRuntime/ThreadSanitizer/ThreadSanitizerRuntime.h b/lldb/source/Plugins/InstrumentationRuntime/ThreadSanitizer/ThreadSanitizerRuntime.h index 16516ca8579..fcec0744341 100644 --- a/lldb/source/Plugins/InstrumentationRuntime/ThreadSanitizer/ThreadSanitizerRuntime.h +++ b/lldb/source/Plugins/InstrumentationRuntime/ThreadSanitizer/ThreadSanitizerRuntime.h @@ -56,17 +56,20 @@ public: return 1; } - void - ModulesDidLoad(lldb_private::ModuleList &module_list) override; - lldb::ThreadCollectionSP GetBacktracesFromExtendedStopInfo(StructuredData::ObjectSP info) override; private: ThreadSanitizerRuntime(const lldb::ProcessSP &process_sp) : lldb_private::InstrumentationRuntime(process_sp) {} + const RegularExpression & + GetPatternForRuntimeLibrary() override; + + bool + CheckIfRuntimeIsValid(const lldb::ModuleSP module_sp) override; + void - Activate(); + Activate() override; void Deactivate(); |

