diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2018-02-09 17:13:37 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2018-02-09 17:13:37 +0000 |
| commit | c052fa0bd384f52bcf4c5ddb510b9b0939183edc (patch) | |
| tree | 3833c7d5ae10a242dba38d7a0dccbe4635fbe1de /llvm/test/CodeGen/ARM/ehabi-handlerdata.ll | |
| parent | d09b416943fec535f73950b0954e0fcd17719a75 (diff) | |
| download | bcm5719-llvm-c052fa0bd384f52bcf4c5ddb510b9b0939183edc.tar.gz bcm5719-llvm-c052fa0bd384f52bcf4c5ddb510b9b0939183edc.zip | |
Emit smaller exception tables for non-SJLJ mode.
* Use uleb128 for code offsets in the LSDA call site table.
* Omit the TTBase offset if the type table is empty.
This change can reduce the size of the DWARF/Itanium LSDA by about half.
Patch by Ryan Prichard!
llvm-svn: 324750
Diffstat (limited to 'llvm/test/CodeGen/ARM/ehabi-handlerdata.ll')
| -rw-r--r-- | llvm/test/CodeGen/ARM/ehabi-handlerdata.ll | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/test/CodeGen/ARM/ehabi-handlerdata.ll b/llvm/test/CodeGen/ARM/ehabi-handlerdata.ll index af5728bf831..2f4354983ca 100644 --- a/llvm/test/CodeGen/ARM/ehabi-handlerdata.ll +++ b/llvm/test/CodeGen/ARM/ehabi-handlerdata.ll @@ -52,9 +52,9 @@ try.cont: ; CHECK: .byte 255 @ @LPStart Encoding = omit ; CHECK: .byte 0 @ @TType Encoding = absptr ; CHECK: .uleb128 .Lttbase -; CHECK: .byte 3 @ Call site Encoding = udata4 +; CHECK: .byte 1 @ Call site Encoding = uleb128 ; CHECK: .uleb128 .Lcst_end -; CHECK: .long -; CHECK: .long -; CHECK: .long +; CHECK: .uleb128 +; CHECK: .uleb128 +; CHECK: .uleb128 ; CHECK: .fnend |

