forked from OSchip/llvm-project
Revert "Fix CMake warning in CFI tests."
This is a bit more complex than that. llvm-svn: 257201
This commit is contained in:
parent
1dc7dfb9d9
commit
6922ab1ff6
|
@ -61,7 +61,7 @@ if(COMPILER_RT_CAN_EXECUTE_TESTS)
|
|||
add_subdirectory(ubsan)
|
||||
endif()
|
||||
# CFI tests require diagnostic mode, which is implemented in UBSan.
|
||||
if(COMPILER_RT_HAS_CFI AND COMPILER_RT_HAS_UBSAN)
|
||||
if(COMPILER_RT_HAS_UBSAN)
|
||||
add_subdirectory(cfi)
|
||||
endif()
|
||||
if(COMPILER_RT_HAS_SAFESTACK)
|
||||
|
|
Loading…
Reference in New Issue