If libc++ has not declared bad_array_length, then declare it here just so that it gets into the binary.

git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@194208 91177308-0d34-0410-b5e6-96231b3b80d8
Comment correction. syslog() syntax is:

 void syslog(int facility_priority, const char* format, ...);

This is indeed how it is used in private_typeinfo.cpp.



git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@195452 91177308-0d34-0410-b5e6-96231b3b80d8
On Windows, typeids are different between DLLs and EXEs, so comparing
type_info* will work for typeids from the same compiled file but fail
for typeids from a DLL and an executable. Among other things, exceptions
are not caught by handlers since can_catch() returns false.

Defining _LIBCXX_DYNAMIC_FALLBACK does not help since can_catch() calls
is_equal() with use_strcmp=false so the string names are not compared.

This patch compares typeids first (cheap) and only they are different
calls strcmp.



git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@195502 91177308-0d34-0410-b5e6-96231b3b80d8
Fix indentation of fields in __cxa_exception to line up

Align to 8 spaces instead of an inconsistent 9.

git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@195974 91177308-0d34-0410-b5e6-96231b3b80d8
Fixed a couple of test errors; changed 'const A const *' to 'const A* const'. Thanks to Nico for the catch

git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@196355 91177308-0d34-0410-b5e6-96231b3b80d8
[unwind] remove darwin build dependency on <mach-o/dyld_priv.h>

git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@196436 91177308-0d34-0410-b5e6-96231b3b80d8
80-column wrap a comment in a test



git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@196540 91177308-0d34-0410-b5e6-96231b3b80d8
Fix minor initialization bug in Registers_x86_64.

According to kledzik, this constructor isn't live code, so no functionality
change.



git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@196550 91177308-0d34-0410-b5e6-96231b3b80d8
Rename UnwindRegisters*.s files to UnwindRegisters*.S, step 1 of 2

These files require preprocessing, so their name should end with a capital S.



git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@196554 91177308-0d34-0410-b5e6-96231b3b80d8
Rename UnwindRegisters*.s files to UnwindRegisters*.S, step 2 of 2

These files require preprocessing, so their name should end with a capital S.



git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@196555 91177308-0d34-0410-b5e6-96231b3b80d8