[cfe-commits] [PATCH] Add missing definitions to unwind.h
Rafael EspĂndola
rafael.espindola at gmail.com
Wed Aug 28 15:20:11 PDT 2013
> I'd like to resurrect this patch; it is also needed to build libc++abi
> (and GCC's libsupc++) on Linux (in cases where libunwind headers
> are unavailable).
Yes, we should fix this.
> OK to commit?
+typedef uintptr_t _Unwind_Word;
+typedef intptr_t _Unwind_Sword;
+typedef uintptr_t _Unwind_Ptr;
+typedef uintptr_t _Unwind_Internal_Ptr;
+typedef uint64_t _Unwind_Exception_Class;
It is a pity we have to define these, but I see that gcc's libsup++
still uses it :-(
LGTM, since it is a nop for users that already have an unwind.h setup.
Cheers,
Rafael
More information about the cfe-commits
mailing list