Skip to content

Commit be6c738

Browse files
author
git apple-llvm automerger
committed
Merge commit '1bb755fdcd61' from llvm.org/main into next
2 parents e8e2a45 + 1bb755f commit be6c738

File tree

1 file changed

+4
-0
lines changed
  • lldb/source/Plugins/InstrumentationRuntime/Utility

1 file changed

+4
-0
lines changed

lldb/source/Plugins/InstrumentationRuntime/Utility/Utility.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
namespace lldb_private {
1515

1616
lldb::ModuleSP GetPreferredAsanModule(const Target &target) {
17+
// Currently only supported on Darwin.
18+
if (!target.GetArchitecture().GetTriple().isOSDarwin())
19+
return nullptr;
20+
1721
lldb::ModuleSP module;
1822
llvm::Regex pattern(R"(libclang_rt\.asan_.*_dynamic\.dylib)");
1923
target.GetImages().ForEach([&](const lldb::ModuleSP &m) {

0 commit comments

Comments
 (0)