Allow LIBCXXABI_SINGLE_THREADED to be defined by build scripts

git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@216952 91177308-0d34-0410-b5e6-96231b3b80d8
s/LIBCXXABI_SINGLE_THREADED/LIBCXXABI_HAS_NO_THREADS/ for consistency with libcxx

Also remove the audotedection part so that if you're crazy enough to want a
single-threaded abi library, you'll say so explicitly in the build.


git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@217262 91177308-0d34-0410-b5e6-96231b3b80d8
Use correct __ARM_ARCH macro

git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@217341 91177308-0d34-0410-b5e6-96231b3b80d8
Remove an unused typedef from __class_type_info::search_below_dst
to fix the -Wunused-local-typedef warning.


git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@217367 91177308-0d34-0410-b5e6-96231b3b80d8
Implement post-review comments for r216730

Feedback was 'this could use better comments'.


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

This patch fixes the bad argument that GAS accepted but the IAS didn't,
ie. {#0x20}, moving it to {0x20} which both accept. It also makes the
ARMv7+ save/restore correct by using VFP instructions rather than old
co-processor ones.

Fixes PR20529.

git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@217585 91177308-0d34-0410-b5e6-96231b3b80d8
Adding ABI support for __cxa_throw_bad_array_new_length.

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

As the title says... also, fix all the ARM asm return sequences so that they
work on processors without the BX instruction.

http://reviews.llvm.org/D5314


git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@218869 91177308-0d34-0410-b5e6-96231b3b80d8
Use __atomic_exchange_n instead of Clang's __sync_swap

Also remove an extra extern "C" from a global variable redeclaration.
This allows building libcxxabi with GCC on my system.

Reviewers: majnemer

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

git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@219012 91177308-0d34-0410-b5e6-96231b3b80d8
Correctly export _Unwind_[GS]et(GR|IP) for EHABI.

These need to have normal linkage instead of being static inline as
many libraries expect to be able to declare these and have the linker
find them rather than needing to include the header.

http://mentorembedded.github.io/cxx-abi/abi-eh.html

Also clean up some warnings while I'm here.

Reviewers: jroelofs, kledzik

Subscribers: cfe-commits

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


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