[clang-repl] Disable LSan in InterpreterExceptionTest.
Disabling LSan for this test until we can track down the leak described in https://github.com/llvm/llvm-project/issues/67586.
This commit is contained in:
@@ -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 <sanitizer/lsan_interface.h>
|
||||
LLVM_ATTRIBUTE_USED int __lsan_is_turned_off() { return 1; }
|
||||
#endif
|
||||
|
||||
using namespace clang;
|
||||
|
||||
namespace {
|
||||
|
||||
Reference in New Issue
Block a user