- Mar 23, 2010
-
-
Devang Patel authored
llvm-svn: 99225
-
- Mar 22, 2010
-
-
Devang Patel authored
DW_AT_stmt_list attribute attached with a compile unit encodes offset of line number information for this compile unit in debug_line section. This offset is always zero when only one compile unit is emitted in a object file. llvm-svn: 99223
-
Jeffrey Yasskin authored
it allocates to DwarfDebug::DIEValues. llvm-svn: 99196
-
- Mar 17, 2010
-
-
Devang Patel authored
Fix EmitSectionOffset incorrect argument. DwarfDebug is emitting debug info so isEH is always false. This was hiding until now from compilers because of default arguments. This was hiding from dwarf debug info users because for most of the platform isAbsoluteEHSectionOffsets() is same as isAbsoluteDebugSectionOffsets(). But Chris found it while updating dwarf printer to use MC*. llvm-svn: 98743
-
- Mar 16, 2010
-
-
Chris Lattner authored
handling constant unions. llvm-svn: 98680
-
Daniel Dunbar authored
llvm-svn: 98662
-
Chris Lattner authored
llvm-svn: 98656
-
Chris Lattner authored
to LLVM IR changes with addr label weirdness. In the testcase, we generate references to the two bb's when codegen'ing the first function: _test1: ## @test1 leaq Ltmp0(%rip), %rax .. leaq Ltmp1(%rip), %rax Then continue to codegen the second function where the blocks get merged. We're now smart enough to emit both labels, producing this code: _test_fun: ## @test_fun ## BB#0: ## %entry Ltmp1: ## Block address taken Ltmp0: ## BB#1: ## %ret movl $-1, %eax ret Rejoice. llvm-svn: 98595
-
- Mar 15, 2010
-
-
Chris Lattner authored
label is generated, but then the block is deleted. Since the value is undefined, we just emit the label right after the entry label of the function. It might matter that the label is in the same section as the function was afterall. llvm-svn: 98579
-
Devang Patel authored
This is a work in progress. llvm-svn: 98556
-
Chris Lattner authored
llvm-svn: 98526
-
- Mar 14, 2010
-
-
Chris Lattner authored
label instead of trying to form one based on the BB name (which causes collisions if the name is empty). This fixes PR6608 llvm-svn: 98495
-
Chris Lattner authored
to get unique assembler temporary labels. llvm-svn: 98489
-
Chris Lattner authored
llvm-svn: 98485
-
Chris Lattner authored
llvm-svn: 98484
-
Chris Lattner authored
llvm-svn: 98483
-
Chris Lattner authored
contain an MCSymbol instead of a label index. llvm-svn: 98482
-
Chris Lattner authored
with an MCSymbol instead of an immediate. llvm-svn: 98481
-
Chris Lattner authored
llvm-svn: 98477
-
Chris Lattner authored
llvm-svn: 98474
-
Chris Lattner authored
llvm-svn: 98471
-
Chris Lattner authored
llvm-svn: 98470
-
Chris Lattner authored
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
-
Chris Lattner authored
consistently use MCSymbol and only call this predicate after they should have been emitted. llvm-svn: 98461
-
Chris Lattner authored
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
-
- Mar 13, 2010
-
-
Chris Lattner authored
llvm-svn: 98451
-
Chris Lattner authored
and passing off ownership to AsmPrinter. Now MachineModuleInfo creates it and owns it by value. This allows us to use MCSymbols more consistently throughout the rest of the code generator, and simplifies a bit of code. This also allows MachineFunction to keep an MCContext reference handy, and cleans up the TargetRegistry interfaces for AsmPrinters. llvm-svn: 98450
-
Chris Lattner authored
instead of as a stem+idx pair, simplify the "is a new location" check to use symbol comparison. llvm-svn: 98432
-
Chris Lattner authored
llvm-svn: 98429
-
Chris Lattner authored
llvm-svn: 98426
-
Chris Lattner authored
entries to not thrash std::strings and MCSymbols. llvm-svn: 98415
-
- Mar 12, 2010
-
-
Chris Lattner authored
llvm-svn: 98392
-
Chris Lattner authored
some of its callers. llvm-svn: 98388
-
Chris Lattner authored
llvm-svn: 98378
-
Chris Lattner authored
for a global instead of messing around with string buffers. llvm-svn: 98366
-
Chris Lattner authored
llvm-svn: 98365
-
Chris Lattner authored
No functionality change. llvm-svn: 98363
-
Chris Lattner authored
by A.Mazur! llvm-svn: 98360
-
Jeffrey Yasskin authored
several fields to make it easier to figure out where bugs might be creeping in. llvm-svn: 98358
-
Devang Patel authored
llvm-svn: 98302
-