[PATCH] D21434: [CMake] Add LLVM_BUILD_32_BITS to LLVMConfig.cmake
John Brawn via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 16 07:08:49 PDT 2016
john.brawn created this revision.
john.brawn added reviewers: beanz, chapuni.
john.brawn added a subscriber: llvm-commits.
john.brawn set the repository for this revision to rL LLVM.
Previously out-of-tree passes could detect if LLVM was built with LLVM_BUILD_32_BITS by looking for -m32 in LLVM_DEFINITIONS, but as of r271871 it no longer appears there. Resolve this by instead emitting LLVM_BUILD_32_BITS in LLVMConfig so it can be checked for directly.
@@ -39,6 +39,8 @@
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 455 bytes
Desc: not available
More information about the llvm-commits