Introduces cmake option `LLVM_DISABLE_ABI_BREAKING_CHECKS_ENFORCING`
authorMehdi Amini <mehdi.amini@apple.com>
Tue, 6 Dec 2016 01:23:04 +0000 (01:23 +0000)
committerMehdi Amini <mehdi.amini@apple.com>
Tue, 6 Dec 2016 01:23:04 +0000 (01:23 +0000)
commitebcb8a705457fadb85dec179257a3b406d44432f
tree4ef630891f8a79414d31d3295d43fc364909e2b7
parentd4b83e6dfd075856468086364f792de00cdb2f9f
Introduces cmake option `LLVM_DISABLE_ABI_BREAKING_CHECKS_ENFORCING`

Summary:
We recently introduced a feature that enforce at link-time that the
LLVM headers used by a clients are matching the ABI setting of the
LLVM library linked to.

However for clients that are using only headers from ADT and promise
they won't call into LLVM, this is forcing to link libSupport. This
new flag is intended to provide a way to configure LLVM with this
promise for such client.

Reviewers: bob.wilson, compnerd

Subscribers: mgorny, llvm-commits

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

llvm-svn: 288754
llvm/CMakeLists.txt
llvm/include/llvm/Config/abi-breaking.h.cmake