diff options
author | Ed Schouten <ed@nuxi.nl> | 2015-03-31 07:59:53 +0000 |
---|---|---|
committer | Ed Schouten <ed@nuxi.nl> | 2015-03-31 07:59:53 +0000 |
commit | 25a624e43d49ef86f67dda6bab07edbd7883ac5f (patch) | |
tree | 245f99710b99f3b4350c912fd3abc711ad8ade70 /libcxxabi/src | |
parent | 4f6bcefacec320e5a9a7093c8ffcd7c1fc895277 (diff) | |
download | bcm5719-llvm-25a624e43d49ef86f67dda6bab07edbd7883ac5f.tar.gz bcm5719-llvm-25a624e43d49ef86f67dda6bab07edbd7883ac5f.zip |
Also use dl_iterate_phdr() on CloudABI.
The unwinder now works on CloudABI. All exception-related libc++ tests
now pass.
This change was actually part of D8169, which also adds support for
FreeBSD. That, however, still requires some more polishing.
llvm-svn: 233676
Diffstat (limited to 'libcxxabi/src')
-rw-r--r-- | libcxxabi/src/Unwind/AddressSpace.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxxabi/src/Unwind/AddressSpace.hpp b/libcxxabi/src/Unwind/AddressSpace.hpp index abcac41219a..9c659a85655 100644 --- a/libcxxabi/src/Unwind/AddressSpace.hpp +++ b/libcxxabi/src/Unwind/AddressSpace.hpp @@ -57,7 +57,7 @@ extern EHTEntry __exidx_end; #endif // !defined(_LIBUNWIND_IS_BAREMETAL) #endif // LIBCXXABI_ARM_EHABI -#if defined(__linux__) +#if defined(__CloudABI__) || defined(__linux__) #if _LIBUNWIND_SUPPORT_DWARF_UNWIND && _LIBUNWIND_SUPPORT_DWARF_INDEX #include <link.h> #include "EHHeaderParser.hpp" |