- Feb 26, 2010
-
-
Bill Wendling authored
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
-
- Feb 25, 2010
-
-
Bill Wendling authored
llvm-svn: 97169
-
Bill Wendling authored
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. llvm-svn: 97078
-
- Feb 15, 2010
-
-
Anton Korobeynikov authored
llvm-svn: 96290
-
Anton Korobeynikov authored
It turns out that we emitted completely wrong common EH frame since the early beginning! The "z" CIE augmentation mark indicates that there is an extra word containing the size of augmentation section. However, even for frames w/o any augmentation data we emitted size uleb! (this is the case of "unwinding through C code"). Thus frame moves information was emitterd completely wrong. llvm-svn: 96287
-
Anton Korobeynikov authored
Preliminary patch to improve dwarf EH generation - Hooks to return Personality / FDE / LSDA / TType encoding depending on target / options (e.g. code model / relocation model) - MCIzation of Dwarf EH printer to use encoding information - Stub generation for ELF target (needed for indirect references) - Some other small changes here and there llvm-svn: 96285
-
- Feb 11, 2010
-
-
Bill Wendling authored
llvm-svn: 95871
-
- Feb 10, 2010
-
-
Bill Wendling authored
the pointer values could be invalid. llvm-svn: 95813
-
Bill Wendling authored
llvm-svn: 95740
-
Bill Wendling authored
llvm-svn: 95737
-
- Feb 09, 2010
-
-
Bill Wendling authored
llvm-svn: 95707
-
- Jan 28, 2010
-
-
Jim Grosbach authored
This allows code gen and the exception table writer to cooperate to make sure landing pads are associated with the correct invoke locations. llvm-svn: 94726
-
- Jan 27, 2010
-
-
Chris Lattner authored
is constified. llvm-svn: 94613
-
- Jan 23, 2010
-
-
Chris Lattner authored
llvm-svn: 94295
-
Chris Lattner authored
into a new MCDirectives.h file. llvm-svn: 94294
-
Chris Lattner authored
llvm-svn: 94290
-
Chris Lattner authored
be careful to add a \0 at the end though, because EmitString didn't do this. llvm-svn: 94277
-
Chris Lattner authored
be completely eliminated, but today is not that day. llvm-svn: 94253
-
Chris Lattner authored
cleanup and eliminate a bunch more uses of "EOL". llvm-svn: 94250
-
- Jan 22, 2010
-
-
Chris Lattner authored
handle the comment better, MCize the non-.sleb case. llvm-svn: 94244
-
Chris Lattner authored
pretty printing encoding comments and eliminates redundancy on the client side. We now get pretty dwarf like this again: .byte 255 ## @LPStart Encoding = omit .byte 0 ## @TType Encoding = absptr .byte 0x28 ## @TType base offset .byte 3 ## Call site Encoding = udata4 .byte 0x1a ## Call site table size ... llvm-svn: 94239
-
Chris Lattner authored
and much more accurately describes what it is all about. llvm-svn: 94233
-
Chris Lattner authored
llvm-svn: 94230
-
- Jan 21, 2010
-
-
Jim Grosbach authored
llvm-svn: 94097
-
Jim Grosbach authored
order for SjLj style exception handling. llvm-svn: 94055
-
- Jan 20, 2010
-
-
Chris Lattner authored
llvm-svn: 93996
-
- Jan 18, 2010
-
-
Bill Wendling authored
idea, but unfortunately necessary. - Default to using 4-bytes for the LSDA pointer encoding to agree with the encoded value in the CIE. llvm-svn: 93753
-
Chris Lattner authored
llvm-svn: 93699
-
- Jan 17, 2010
-
-
Chris Lattner authored
remove it and change all the code that prints MCSymbols to use << instead, which is much simpler and cleaner. llvm-svn: 93695
-
- Jan 16, 2010
-
-
Chris Lattner authored
llvm-svn: 93664
-
Chris Lattner authored
and add an explicit ForcePrivate argument. Switch FunctionEHFrameInfo to be MCSymbol based instead of string based. llvm-svn: 93646
-
Bill Wendling authored
The CIE says that the LSDA point in the FDE section is an "sdata4". That's fine, but we need it to actually be 4-bytes in the FDE for some platforms. Allow individual platforms to decide for themselves. llvm-svn: 93616
-
- Dec 28, 2009
-
-
Chris Lattner authored
llvm-svn: 92206
-
- Dec 17, 2009
-
-
Bill Wendling authored
$ svn merge -c -91337 https://llvm.org/svn/llvm-project/llvm/trunk --- Reverse-merging r91337 into '.': U lib/CodeGen/AsmPrinter/DwarfException.cpp llvm-svn: 91618
-
- Dec 14, 2009
-
-
Bill Wendling authored
but we need it to actually be 4-bytes in the FDE. llvm-svn: 91337
-
- Nov 19, 2009
-
-
Bill Wendling authored
$ svn merge -c -89279 https://llvm.org/svn/llvm-project/llvm/trunk --- Reverse-merging r89279 into '.': U lib/CodeGen/AsmPrinter/DwarfException.cpp U lib/Target/TargetLoweringObjectFile.cpp $ svn merge -c -89270 https://llvm.org/svn/llvm-project/llvm/trunk --- Reverse-merging r89270 into '.': G lib/CodeGen/AsmPrinter/DwarfException.cpp G lib/Target/TargetLoweringObjectFile.cpp llvm-svn: 89379
-
Bill Wendling authored
exception table than DataRel. llvm-svn: 89279
-
Bill Wendling authored
Place the EH table in the __TEXT section on MachO. It saves space. llvm-svn: 89270
-
- Nov 17, 2009
-
-
Bill Wendling authored
more than one place. No intended functionality change. llvm-svn: 89024
-
- Nov 13, 2009
-
-
Bill Wendling authored
llvm-svn: 87040
-