Usermode/libc++ - Add another DWARF encoding type to case statement
authorJohn Hodge (sonata) <[email protected]>
Wed, 5 Nov 2014 08:07:26 +0000 (16:07 +0800)
committerJohn Hodge (sonata) <[email protected]>
Wed, 5 Nov 2014 08:07:26 +0000 (16:07 +0800)
Usermode/Libraries/libc++.so_src/gxx_personality.cc

index e675388..fbd1623 100644 (file)
@@ -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;

UCC git Repository :: git.ucc.asn.au