diff options
| -rw-r--r-- | compiler-rt/test/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler-rt/test/CMakeLists.txt b/compiler-rt/test/CMakeLists.txt index 2e344056f01..34161855419 100644 --- a/compiler-rt/test/CMakeLists.txt +++ b/compiler-rt/test/CMakeLists.txt @@ -71,6 +71,10 @@ if(COMPILER_RT_CAN_EXECUTE_TESTS) endforeach() compiler_rt_test_runtime(profile) + + if(COMPILER_RT_HAS_UBSAN AND COMPILER_RT_HAS_UBSAN_MINIMAL) + add_dependencies(check-ubsan check-ubsan-minimal) + endif() endif() if(COMPILER_RT_BUILD_XRAY) compiler_rt_test_runtime(xray) |

