mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
tools: handle out-of-line personality 0 decoding
In some cases it is possible to have a personality 0 unwinding opcodes in the extab (such as when .handlerdata is used in the assembly). Simply decode the 3 opcodes for that case. llvm-svn: 201030
This commit is contained in:
parent
832f6bfd62
commit
cf3459a929
@ -435,7 +435,7 @@ void PrinterContext<ET>::PrintExceptionTable(const Elf_Shdr *IT,
|
||||
|
||||
switch (PersonalityIndex) {
|
||||
case AEABI_UNWIND_CPP_PR0:
|
||||
llvm_unreachable("Personality 0 should be compact inline!");
|
||||
PrintOpcodes(Contents->data() + TableEntryOffset, 3, 1);
|
||||
break;
|
||||
case AEABI_UNWIND_CPP_PR1:
|
||||
case AEABI_UNWIND_CPP_PR2:
|
||||
|
Loading…
Reference in New Issue
Block a user