[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:
Lang Hames
2023-09-27 11:27:57 -07:00
parent 9243b1bfdb
commit 47625fea5e

View File

@@ -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 {