diff options
author | Eric Fiselier <eric@efcs.ca> | 2017-01-18 00:05:01 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2017-01-18 00:05:01 +0000 |
commit | 08305aaf6e3012b4a3080ea84d966d0dfdc736ad (patch) | |
tree | 6fd6aa0e54067c5057d8b78914131748cb15b00c /lib | |
parent | 1b30568b31303da9e8b633d0405c12d404a01aee (diff) |
Allow sym_diff.py to report non-zero for non-breaking ABI changes
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@292297 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/abi/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/abi/CMakeLists.txt b/lib/abi/CMakeLists.txt index e3eb3bf39..41240d72e 100644 --- a/lib/abi/CMakeLists.txt +++ b/lib/abi/CMakeLists.txt @@ -22,7 +22,8 @@ if (LIBCXX_HAS_ABILIST_CONFIGURATION) set(ABILIST_FILE "${CMAKE_CURRENT_LIST_DIR}/${TARGET_TRIPLE}.abilist") set(SYMDIFF_EXE "${LIBCXX_SOURCE_DIR}/utils/sym_check/sym_diff.py") add_custom_target(check-cxx-abilist - ${SYMDIFF_EXE} --only-stdlib-symbols ${ABILIST_FILE} $<TARGET_SONAME_FILE:cxx_shared> + ${SYMDIFF_EXE} --only-stdlib-symbols --strict ${ABILIST_FILE} + $<TARGET_SONAME_FILE:cxx_shared> DEPENDS cxx_shared COMMENT "Testing ABI compatibility...") endif() |