Preprocess Apple llvmCore headers to reflect NDEBUG setting. <rdar://12568983>
authorBob Wilson <bob.wilson@apple.com>
Tue, 5 Feb 2013 22:59:42 +0000 (22:59 +0000)
committerBob Wilson <bob.wilson@apple.com>
Tue, 5 Feb 2013 22:59:42 +0000 (22:59 +0000)
commit0dfa8a6d06717da0f41bea5a9d599c9ccdcb1b7a
treec19c26d9054d7b87d148b34e900cff9a69846a89
parent2a78bb961ad99cfc9ae4e8a05a9a5a6bf84e41f3
Preprocess Apple llvmCore headers to reflect NDEBUG setting. <rdar://12568983>

If an Apple llvmCore build is done without assertions, and a client uses
the llvmCore headers with assertions enabled, or vice versa, then things will
break because some of the structure sizes in the API are different.  Use the
unifdef tool to make the headers unconditionally match the way the llvmCore
libraries were built.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174460 91177308-0d34-0410-b5e6-96231b3b80d8
utils/buildit/build_llvm