Author: Vitaly Buka Date: 2023-09-13T09:07:30-07:00 New Revision: b4b4d8bd61d8de946e130beff5049a4ab13e155d
URL: https://github.com/llvm/llvm-project/commit/b4b4d8bd61d8de946e130beff5049a4ab13e155d DIFF: https://github.com/llvm/llvm-project/commit/b4b4d8bd61d8de946e130beff5049a4ab13e155d.diff LOG: [test][clang-repl][Orc] Lsan report workaround Not sure if this is real leak of lsan and clang-repl incompatibility. ca8d2533c79ccfbcb2de4090f0d48914a60b0a3d causes leak report in ClangReplInterpreterExceptionTests. Added: Modified: clang/unittests/Interpreter/ExceptionTests/CMakeLists.txt Removed: ################################################################################ diff --git a/clang/unittests/Interpreter/ExceptionTests/CMakeLists.txt b/clang/unittests/Interpreter/ExceptionTests/CMakeLists.txt index 5a6597d1b6728f9..fe38eea3155a07c 100644 --- a/clang/unittests/Interpreter/ExceptionTests/CMakeLists.txt +++ b/clang/unittests/Interpreter/ExceptionTests/CMakeLists.txt @@ -23,4 +23,7 @@ target_link_libraries(ClangReplInterpreterExceptionTests PUBLIC ) add_dependencies(ClangReplInterpreterExceptionTests clang-resource-headers) -export_executable_symbols(ClangReplInterpreterExceptionTests) +# export_executable_symbols triggers Lsan report. +if (NOT LLVM_USE_SANITIZER MATCHES ".*Address.*") + export_executable_symbols(ClangReplInterpreterExceptionTests) +endif() _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits