diff --git a/clang/unittests/Interpreter/ExceptionTests/InterpreterExceptionTest.cpp b/clang/unittests/Interpreter/ExceptionTests/InterpreterExceptionTest.cpp index 8700f506d9b17..adff020d3a098 100644 --- a/clang/unittests/Interpreter/ExceptionTests/InterpreterExceptionTest.cpp +++ b/clang/unittests/Interpreter/ExceptionTests/InterpreterExceptionTest.cpp @@ -29,6 +29,14 @@ #include "gmock/gmock.h" #include "gtest/gtest.h" +// Disable LSan for this test. +// FIXME: Re-enable this once we track down the leak described in +// https://llvm.org/github.com/llvm/llvm-project/issues/67586. +#if LLVM_ADDRESS_SANITIZER_BUILD || LLVM_HWADDRESS_SANITIZER_BUILD +#include +LLVM_ATTRIBUTE_USED int __lsan_is_turned_off() { return 1; } +#endif + using namespace clang; namespace {