Don't hardcode the TType format size. In fact, rework the code so that it's more
authorBill Wendling <isanbard@gmail.com>
Thu, 10 Sep 2009 02:07:37 +0000 (02:07 +0000)
committerBill Wendling <isanbard@gmail.com>
Thu, 10 Sep 2009 02:07:37 +0000 (02:07 +0000)
commitfe220285b5ef1e4480ddd7f7c8bb182b88a33b16
treeeec798da2e088c440ed5e1416d4bfada261fb8d4
parent08669746d04468898b094908484946216628d359
Don't hardcode the TType format size. In fact, rework the code so that it's more
like what GCC outputs. The mysterious code to insert padding wasn't in GCC at
all. I modified the TType base offset code to calculate the offset like GCC
does, though.

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