[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.
This commit is contained in:
Vitaly Buka 2023-09-13 08:57:57 -07:00
parent ba6d7a0f25
commit b4b4d8bd61

View File

@ -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()