[AMDGPU] Add True16 register classes.
[llvm-project.git] / clang / unittests / Interpreter / ExceptionTests / CMakeLists.txt
blobfe38eea3155a07c00579d97ac203df3853921872
1 # The interpreter can throw an exception from user input. The test binary needs
2 # to be compiled with exception support to catch the thrown exception.
3 set(LLVM_REQUIRES_EH ON)
4 set(LLVM_REQUIRES_RTTI ON)
6 set(LLVM_LINK_COMPONENTS
7   ${LLVM_TARGETS_TO_BUILD}
8   Core
9   OrcJIT
10   Support
11   )
13 add_clang_unittest(ClangReplInterpreterExceptionTests
14   InterpreterExceptionTest.cpp
15   )
17 llvm_update_compile_flags(ClangReplInterpreterExceptionTests)
18 target_link_libraries(ClangReplInterpreterExceptionTests PUBLIC
19   clangAST
20   clangBasic
21   clangInterpreter
22   clangFrontend
23   )
24 add_dependencies(ClangReplInterpreterExceptionTests clang-resource-headers)
26 # export_executable_symbols triggers Lsan report.
27 if (NOT LLVM_USE_SANITIZER MATCHES ".*Address.*")
28   export_executable_symbols(ClangReplInterpreterExceptionTests)
29 endif()