| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
them for consistency.
llvm-svn: 100345
|
|
|
|
| |
llvm-svn: 100344
|
|
|
|
|
|
| |
enough to warrant caching in AsmPrinter, so remove it.
llvm-svn: 100336
|
|
|
|
|
|
|
| |
The only thing left is LEB printing, which uses EmitRawText
for now.
llvm-svn: 100325
|
|
|
|
| |
llvm-svn: 99999
|
|
|
|
| |
llvm-svn: 99833
|
|
|
|
|
|
| |
to get unique assembler temporary labels.
llvm-svn: 98489
|
|
|
|
| |
llvm-svn: 98484
|
|
|
|
| |
llvm-svn: 98470
|
|
|
|
|
|
|
|
| |
an MCSymbol. Make the EH_LABEL MachineInstr hold its label
with an MCSymbol instead of ID. Fix a bug in MMI.cpp which
would return labels named "Label4" instead of "label4".
llvm-svn: 98463
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
instead of label ID's. This cleans up and regularizes a bunch
of code and makes way for future progress.
Unfortunately, this pointed out to me that JITDwarfEmitter.cpp
is largely copy and paste from DwarfException/MachineModuleInfo
and other places. This is very sad and disturbing. :(
One major change here is that TidyLandingPads moved from being
called in DwarfException::BeginFunction to being called in
DwarfException::EndFunction. There should not be any
functionality change from doing this, but I'm not an EH expert.
llvm-svn: 98459
|
|
|
|
|
|
|
| |
instead of as a stem+idx pair, simplify the "is a new
location" check to use symbol comparison.
llvm-svn: 98432
|
|
|
|
| |
llvm-svn: 98429
|
|
|
|
| |
llvm-svn: 98365
|
|
|
|
|
|
|
| |
semantic instead of syntactic. This completes MCization of
darwin/x86[-64]!
llvm-svn: 98145
|
|
|
|
|
|
| |
for darwin/x86 to be completely mcized.
llvm-svn: 98130
|
|
|
|
| |
llvm-svn: 98124
|
|
|
|
|
|
|
|
| |
need to be MCized, but the last debug info thing are LEB and
cygwin specific (which the MC api doesn't support yet) and
one specific form of EmitReference which I'll tackle next.
llvm-svn: 98116
|
|
|
|
| |
llvm-svn: 98107
|
|
|
|
|
|
|
|
|
|
|
| |
method. With this, comments should end up on the same lines as the .byte
directives (for example) and we now get no output with:
$ llc CodeGen/X86/2009-02-12-DebugInfoVLA.ll -o - -filetype=null -asm-verbose
woot.
llvm-svn: 98105
|
|
|
|
|
|
| |
we can eliminate "flavor".
llvm-svn: 98011
|
|
|
|
|
|
|
|
|
| |
available, the only thing this affects is that we produce
.set in one case we didn't before, which shouldn't harm
anything. Make EmitSectionOffset call EmitDifference
instead of duplicating it.
llvm-svn: 98005
|
|
|
|
| |
llvm-svn: 98002
|
|
|
|
| |
llvm-svn: 97998
|
|
|
|
| |
llvm-svn: 97996
|
|
|
|
|
|
|
| |
switching some stuff over to passing around MCSymbol* instead
of stem+ID.
llvm-svn: 97993
|
|
|
|
|
|
|
|
| |
for alignment into the LSDA. If the TType base offset is emitted, then put the
padding there. Otherwise, put it in the call site table length. There will be no
conflict between the two sites when placing the padding in one place.
llvm-svn: 97277
|
|
|
|
| |
llvm-svn: 97269
|
|
|
|
| |
llvm-svn: 97200
|
|
|
|
|
|
|
| |
the alignment requirement, if it no longer makes the TType base offset overflow
into extra bytes, then we need to pad to those bytes ourselves.
llvm-svn: 97196
|
|
|
|
| |
llvm-svn: 97193
|
|
|
|
| |
llvm-svn: 97192
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 97169
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 96290
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 95871
|
|
|
|
|
|
| |
the pointer values could be invalid.
llvm-svn: 95813
|
|
|
|
| |
llvm-svn: 95740
|
|
|
|
| |
llvm-svn: 95737
|
|
|
|
| |
llvm-svn: 95707
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
is constified.
llvm-svn: 94613
|
|
|
|
| |
llvm-svn: 94295
|
|
|
|
|
|
| |
into a new MCDirectives.h file.
llvm-svn: 94294
|
|
|
|
| |
llvm-svn: 94290
|
|
|
|
|
|
|
| |
be careful to add a \0 at the end though, because EmitString didn't
do this.
llvm-svn: 94277
|
|
|
|
|
|
| |
be completely eliminated, but today is not that day.
llvm-svn: 94253
|