llvm-project/libcxxabi/include
Dan Albert f25c866ba6 [libcxxabi] Fix -Werror build for 32-bit non-ARM.
Summary:
The inclusion of Unwind-EHABI.h was insufficiently guarded
(LIBCXXABI_ARM_EHABI was beign checked without ever being defined).

Move the check into the header file itself, add the check to the
source file, and clean up the existing checks.

LIBCXXABI_ARM_EHABI didn't have a canonical defintion; it was
duplicated across cxxabi.h, libunwind.h, and unwind.h. Move the
definition into __cxxabi_config.h and clean up the old cruft (note: we
will have to ship this header).

There are also a few drive-by formatting/whitespace cleanups.

Reviewers: jroelofs, thakis, compnerd

Reviewed By: compnerd

Subscribers: compnerd, aemerson, cfe-commits

Differential Revision: http://reviews.llvm.org/D7419

llvm-svn: 228363
2015-02-05 23:55:15 +00:00
..
mach-o [libunwind] improve x86_64 comments in compact_unwind_encoding.h 2014-12-20 01:22:54 +00:00
__cxxabi_config.h [libcxxabi] Fix -Werror build for 32-bit non-ARM. 2015-02-05 23:55:15 +00:00
cxxabi.h [libcxxabi] Fix -Werror build for 32-bit non-ARM. 2015-02-05 23:55:15 +00:00
libunwind.h [libcxxabi] Fix -Werror build for 32-bit non-ARM. 2015-02-05 23:55:15 +00:00
unwind.h [libcxxabi] Fix -Werror build for 32-bit non-ARM. 2015-02-05 23:55:15 +00:00