Kernel/VTerm - "Fix" wrapping issue in VTerm (why was old behavior there?)
[tpg/acess2.git] / Usermode / Libraries / libc++.so_src / gxx_personality.cc
index f065e89..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;
@@ -416,6 +418,7 @@ static uint64_t _get_base(uint8_t encoding, _Unwind_Context *context)
        default:
                ::_SysDebug("_get_base: Unknown encoding relativity 0x%x", (encoding & DW_EH_PE_relmask));
                ::abort();
+               for(;;);
        }
 }
 static uint64_t _read_encoded(const void *&ptr, _Unwind_Context *context, int encoding)

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