Guard the check for the LLVM_VERSION.

Only compare the version >= 3.4 when the version is set at all.

Change-Id: I36a57e4490bb43cd703ef4ad71fb359f89e0e85e
Fix compilation of the vector tests.

__cxxabiv1::__cxa_vec_new and __cxxabiv1::__cxa_vec_delete expect the
constructor and destructor methods to have a void* return type instead
of a void return type.

Change the tests constructor and destructor methods to match, and
return the input void* as their output.

From the ARM ABI section 3.1:
This ABI requires C1 and C2 constructors to return this (instead of
being void functions) so that a C3 constructor can tail call the C1
constructor and the C1 constructor can tail call C2.

Change-Id: Icb389c10feeae32f8d8e1ac45d78c96aef780992
Make make-standalone-toolchain.so push libc++abi's headers.

That script was still pushing gabi's headers even when libc++ was used.

Change-Id: I7117e06ac81939d43cefd798c59a85bccc8a7a4f
Merge pull request #51 from awong-dev/dana-work

Guard the check for the LLVM_VERSION.
Merge pull request #53 from awong-dev/pliard-work-push-libcxxabi-headers

Make make-standalone-toolchain.so push libc++abi's headers.
Merge pull request #52 from awong-dev/vector

Fix compilation of the vector tests.
Use dl_unwind_find_exidx on android to find the unwind table.

This was turned off for the GCC build. Instead, make this file check
if we're using libgcc, and use the GCC method if we are, and use
the system one instead on android.

This splits up the #define for dladdr and dl_unwind_find_exidx into
two defines to make things more clear.

By default, say we're using libgcc when not compiling with clang, but
this can be overridden if desired.

Change-Id: I6aae3d9895fd2d0ef470c99fac8119b16609333f
Merge pull request #54 from awong-dev/unwindtable

Use dl_unwind_find_exidx on android to find the unwind table.
Fix compiler warnings for printfs with wrong-sized arguments.

We are printing word-sized values with %llX instead of %X which
causes compiler warnings, and causes us to print out incorrect
values as well.

Change-Id: Ibd889ca808e0e5a5abc813b453ae1abaac7514f4