Put ABI breaking test in Error checking behind LLVM_ENABLE_ABI_BREAKING_CHECKS
authorMehdi Amini <mehdi.amini@apple.com>
Mon, 28 Nov 2016 22:57:11 +0000 (22:57 +0000)
committerMehdi Amini <mehdi.amini@apple.com>
Mon, 28 Nov 2016 22:57:11 +0000 (22:57 +0000)
commitc87de4249ddc9f090dc28796e6e5127aba1acfcd
tree1962ea3977b0e4adb0a8d162693d631c0984503f
parent4ffec859ebef5ac0e302c913ec71824d38db441e
Put ABI breaking test in Error checking behind LLVM_ENABLE_ABI_BREAKING_CHECKS

This macro is supposed to be the one controlling the compatibility
of ABI breaks induced when enabling or disabling assertions in LLVM.

The macro is enabled by default in assertions build, so this commit
won't disable the tests.

Differential Revision: https://reviews.llvm.org/D26700

llvm-svn: 288087
llvm/include/llvm/Support/Error.h