[PATCH] D43001: [CodeGen] Emit smaller exception tables for non-SJLJ mode

Ryan Prichard via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 6 18:58:00 PST 2018


rprichard created this revision.
Herald added subscribers: llvm-commits, JDevlieghere, javed.absar, aprantl.
rprichard added a dependency: D42720: [CodeGen] Use assembler expressions to lay out the EH LSDA.

- 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.


Repository:
  rL LLVM

https://reviews.llvm.org/D43001

Files:
  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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43001.133132.patch
Type: text/x-patch
Size: 9492 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180207/641fa9ea/attachment.bin>


More information about the llvm-commits mailing list