- 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.
Paths
| Differential D43001
[CodeGen] Emit smaller exception tables for non-SJLJ mode ClosedPublic Authored by rprichard on Feb 6 2018, 6:57 PM.
Details
Summary
This change can reduce the size of the DWARF/Itanium LSDA by about half.
Diff Detail
Event TimelineHerald added subscribers: llvm-commits, JDevlieghere, javed.absar, aprantl. · View Herald TranscriptFeb 6 2018, 6:57 PM rprichard added a parent revision: D42720: [CodeGen] Use assembler expressions to lay out the EH LSDA.Feb 6 2018, 6:57 PM This revision is now accepted and ready to land.Feb 7 2018, 9:35 AM
Revision Contents
Diff 133132 lib/CodeGen/AsmPrinter/EHStreamer.cpp
test/CodeGen/ARM/dwarf-eh.ll
test/CodeGen/ARM/ehabi-handlerdata-nounwind.ll
test/CodeGen/ARM/ehabi-handlerdata.ll
test/CodeGen/X86/eh-label.ll
test/CodeGen/X86/eh-unknown.ll
test/CodeGen/X86/patchpoint-invoke.ll
test/CodeGen/X86/push-cfi-obj.ll
test/CodeGen/X86/statepoint-invoke.ll
test/CodeGen/XCore/exception.ll
|