From e514403bd07f07a0e3e6d4e6c33503051ee875d0 Mon Sep 17 00:00:00 2001 From: "John Hodge (sonata)" Date: Wed, 5 Nov 2014 16:07:26 +0800 Subject: [PATCH] Usermode/libc++ - Add another DWARF encoding type to case statement --- Usermode/Libraries/libc++.so_src/gxx_personality.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Usermode/Libraries/libc++.so_src/gxx_personality.cc b/Usermode/Libraries/libc++.so_src/gxx_personality.cc index e6753889..fbd16234 100644 --- a/Usermode/Libraries/libc++.so_src/gxx_personality.cc +++ b/Usermode/Libraries/libc++.so_src/gxx_personality.cc @@ -336,6 +336,8 @@ static size_t _get_encoded_size(int encoding) { case DW_EH_PE_absptr: // absolute return sizeof(void*); + case DW_EH_PE_udata4: + return 4; default: _SysDebug("_get_encoded_size: Unknown encoding 0x%02x", encoding); return 0; -- 2.20.1