diff options
author | Logan Chien <tzuhsiang.chien@gmail.com> | 2015-01-22 13:28:39 +0000 |
---|---|---|
committer | Logan Chien <tzuhsiang.chien@gmail.com> | 2015-01-22 13:28:39 +0000 |
commit | f20383cada3162f3ea2437d62e8b9e47c632eaf3 (patch) | |
tree | dd487032bef29946558bf1241f926af0dc898194 /include | |
parent | 083506f224853c0e5c0d972ef60d25d42d769d6a (diff) |
Fix _Unwind_Backtrace for libc++abi built with libgcc.
Implement an undocumented _US_FORCE_UNWIND flag for force
unwinding.
git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@226820 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/unwind.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/unwind.h b/include/unwind.h index ad91d25..edf5fdd 100644 --- a/include/unwind.h +++ b/include/unwind.h @@ -63,6 +63,8 @@ typedef uint32_t _Unwind_State; static const _Unwind_State _US_VIRTUAL_UNWIND_FRAME = 0; static const _Unwind_State _US_UNWIND_FRAME_STARTING = 1; static const _Unwind_State _US_UNWIND_FRAME_RESUME = 2; +/* Undocumented flag for force unwinding. */ +static const _Unwind_State _US_FORCE_UNWIND = 8; typedef uint32_t _Unwind_EHT_Header; |