diff options
| author | Bill Wendling <isanbard@gmail.com> | 2010-02-25 23:52:44 +0000 |
|---|---|---|
| committer | Bill Wendling <isanbard@gmail.com> | 2010-02-25 23:52:44 +0000 |
| commit | 24c74f1d9ce61bc2034dab3c327e725bb793e05e (patch) | |
| tree | 974ad9157fa4b455da4e148aee7948151d7bc0b9 /clang/lib/CodeGen | |
| parent | d0c7fd8598ca250f91aef9d9c163f669ec70c536 (diff) | |
| download | bcm5719-llvm-24c74f1d9ce61bc2034dab3c327e725bb793e05e.tar.gz bcm5719-llvm-24c74f1d9ce61bc2034dab3c327e725bb793e05e.zip | |
Catch a corner case where adding the padding to the "TType base offset" field
will eliminate the need for padding in the "Call site table length". E.g., if
we have this:
GCC_except_table1:
Lexception1:
.byte 0xff ## @LPStart Encoding = omit
.byte 0x9b ## @TType Encoding = indirect pcrel sdata4
.byte 0x7f ## @TType base offset
.byte 0x03 ## Call site Encoding = udata4
.byte 0x89 ## Call site table length
with padding of 1. We want to emit the padding like this:
GCC_except_table1:
Lexception1:
.byte 0xff ## @LPStart Encoding = omit
.byte 0x9b ## @TType Encoding = indirect pcrel sdata4
.byte 0xff ## @TType base offset
.space 1,0 ## Padding
.byte 0x03 ## Call site Encoding = udata4
.byte 0x89 ## Call site table length
and not with padding on the "Call site table length" entry.
llvm-svn: 97183
Diffstat (limited to 'clang/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions

