[InstrumentationRuntime] Refactor the API (Part 2/N) (NFCI)
authorVedant Kumar <vsk@apple.com>
Thu, 11 Aug 2016 17:28:37 +0000 (17:28 +0000)
committerVedant Kumar <vsk@apple.com>
Thu, 11 Aug 2016 17:28:37 +0000 (17:28 +0000)
commit1c23c148087c06653d4104c4ac223067ef047968
treee76b1d9168bfd9d18a11710264a14aaa5594e0a3
parenta4fa2e299a983dbe73992648e114d39106185449
[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
lldb/include/lldb/Target/InstrumentationRuntime.h
lldb/source/Plugins/InstrumentationRuntime/AddressSanitizer/AddressSanitizerRuntime.cpp
lldb/source/Plugins/InstrumentationRuntime/AddressSanitizer/AddressSanitizerRuntime.h
lldb/source/Plugins/InstrumentationRuntime/ThreadSanitizer/ThreadSanitizerRuntime.cpp
lldb/source/Plugins/InstrumentationRuntime/ThreadSanitizer/ThreadSanitizerRuntime.h
lldb/source/Target/InstrumentationRuntime.cpp