From f20383cada3162f3ea2437d62e8b9e47c632eaf3 Mon Sep 17 00:00:00 2001 From: Logan Chien Date: Thu, 22 Jan 2015 13:28:39 +0000 Subject: 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 --- include/unwind.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') 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; -- cgit v1.2.3