LLVM puts padding bytes in the __gcc_except_tab section after the
authorBill Wendling <isanbard@gmail.com>
Wed, 24 Feb 2010 23:34:35 +0000 (23:34 +0000)
committerBill Wendling <isanbard@gmail.com>
Wed, 24 Feb 2010 23:34:35 +0000 (23:34 +0000)
commit3dc9b4872b28016b38ce31fa4356e17c96420579
tree035d8750ce74dd5f2147014ae8674b7783a704ab
parent556a1b47e2cbc03561c1a8818f08f424e8322ddd
LLVM puts padding bytes in the __gcc_except_tab section after the
GCC_except_table label but before the Lexception, which the FDE references.
This causes problems as the FDE does not point to the start of an LSDA chunk.

Use an unnormalized uleb128 for the call-site table length that includes the
padding.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97078 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfException.cpp
lib/CodeGen/AsmPrinter/DwarfPrinter.cpp
lib/CodeGen/AsmPrinter/DwarfPrinter.h