[PATCH] D159167: [clang-repl][Orc] Export executable symbols in ClangReplInterpreterExceptionTests

Lang Hames via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 27 09:38:55 PDT 2023


lhames added a comment.

@vitalybuka If we want to disable this test for now, what's the canonical way to do it? Should we just wrap the whole `add_clang_unittest` block in the conditional?

  # export_executable_symbols triggers Lsan report.                                                                                                                                                                                                                                              
  if (NOT LLVM_USE_SANITIZER MATCHES ".*Address.*")
  
    add_clang_unittest(ClangReplInterpreterExceptionTests
      InterpreterExceptionTest.cpp
      )
  
    llvm_update_compile_flags(ClangReplInterpreterExceptionTests)
    target_link_libraries(ClangReplInterpreterExceptionTests PUBLIC
      clangAST
      clangBasic
      clangInterpreter
      clangFrontend
      )
    add_dependencies(ClangReplInterpreterExceptionTests clang-resource-headers)
  
    export_executable_symbols(ClangReplInterpreterExceptionTests)
  endif()


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D159167/new/

https://reviews.llvm.org/D159167



More information about the cfe-commits mailing list