- Sep 26, 2008
-
-
Bill Wendling authored
information is in an unreachable block, then it's possible that the high/low pc values won't be set for the dwarf information. E.g., this function: void abort(void) __attribute__((__noreturn__)); void dead_beef(void) __attribute__ ((noreturn)); int *b; void dead_beef(void) { *b=0xdeadbeef; abort(); } has a call to "@llvm.dbg.region.end" only in the unreachable block: define void @dead_beef() noreturn nounwind { entry: call void @llvm.dbg.func.start(...) call void @llvm.dbg.stoppoint(...) ... call void @abort( ) noreturn nounwind unreachable return: ; No predecessors! call void @llvm.dbg.stoppoint(...) call void @llvm.dbg.region.end(...) ret void } The dwarf information emitted is something like: 0x00000084: TAG_subprogram [5] AT_name( "dead_beef" ) AT_external( 0x01 ) AT_prototyped( 0x01 ) AT_decl_file( 0x01 ) AT_decl_line( 0x08 ) Note that this is *not* the best fix for this problem, but a band-aid for an gaping wound. This code needs to be changed when we revamp our debugging information. llvm-svn: 56628
-
- Sep 25, 2008
-
-
Devang Patel authored
s/ParamAttr/Attribute/g s/PAList/AttrList/g s/FnAttributeWithIndex/AttributeWithIndex/g s/FnAttr/Attribute/g This sets the stage - to implement function notes as function attributes and - to distinguish between function attributes and return value attributes. This requires corresponding changes in llvm-gcc and clang. llvm-svn: 56622
-
Dale Johannesen authored
meaning sse_regparm (i.e. float/double values go in XMM0 instead of ST0). Update documentation to reflect reality. llvm-svn: 56619
-
Dan Gohman authored
i1 operands are assumed to already by zero-extended. llvm-svn: 56615
-
Dan Gohman authored
llvm-svn: 56614
-
Dan Gohman authored
llvm-svn: 56613
-
Dan Gohman authored
llvm-svn: 56610
-
Richard Pennington authored
llvm-svn: 56609
-
Dan Gohman authored
giving the target a chance to materialize constants. llvm-svn: 56605
-
Dan Gohman authored
llvm-svn: 56604
-
Dan Gohman authored
llvm-svn: 56602
-
Dan Gohman authored
a separate function, eliminating duplication between the add-passes-for-file and add-passes-for-machine-code code. llvm-svn: 56599
-
rdar://problem/6234798Evan Cheng authored
<rdar://problem/6234798> Assertion failed: (!OpInfo.AssignedRegs.Regs.empty() && "Couldn't allocate input reg!") llvm-svn: 56597
-
Dan Gohman authored
llvm-svn: 56596
-
Dale Johannesen authored
for earlyclobbers. Teach Local RA about earlyclobber, and add some tests for it. llvm-svn: 56592
-
Anton Korobeynikov authored
llvm-svn: 56584
-
Anton Korobeynikov authored
llvm-svn: 56583
-
Anton Korobeynikov authored
llvm-svn: 56579
-
Anton Korobeynikov authored
llvm-svn: 56575
-
Anton Korobeynikov authored
llvm-svn: 56574
-
Anton Korobeynikov authored
llvm-svn: 56573
-
Anton Korobeynikov authored
llvm-svn: 56572
-
Anton Korobeynikov authored
llvm-svn: 56571
-
- Sep 24, 2008
-
-
Owen Anderson authored
llvm-svn: 56567
-
Bill Wendling authored
llvm-svn: 56553
-
Bill Wendling authored
llvm-svn: 56552
-
Eric Christopher authored
llvm-svn: 56551
-
Bill Wendling authored
the SelectionDAG and DAGCombiner code. The only functionality change is that now the DAG combiner is performing the constant folding for these operations instead of being a no-op. This is *not* in response to a bug, so there isn't a testcase. llvm-svn: 56550
-
Dale Johannesen authored
RA problem by expanding the live interval of an earlyclobber def back one slot. Remove overlap-earlyclobber throughout. Remove earlyclobber bits and their handling from live internals. llvm-svn: 56539
-
Dan Gohman authored
separate method. llvm-svn: 56531
-
Dan Gohman authored
dead loads. llvm-svn: 56529
-
Dan Gohman authored
any volatile memory references. llvm-svn: 56528
-
Evan Cheng authored
Properly handle 'm' inline asm constraints. If a GV is being selected for the addressing mode, it requires the same logic for PIC relative addressing, etc. llvm-svn: 56526
-
Devang Patel authored
llvm-svn: 56513
-
Dan Gohman authored
correctly, it's not necessary to explicitly remove registers from their use-def lists. llvm-svn: 56509
-
- Sep 23, 2008
-
-
Dan Gohman authored
object. This will be needed to support debug info. llvm-svn: 56508
-
Dan Gohman authored
efficient implementation possible, but it's pretty simple and good enough for the time being. llvm-svn: 56504
-
Dan Gohman authored
track of the number of live registers, which is all the set was being used for. llvm-svn: 56498
-
Owen Anderson authored
llvm-svn: 56485
-
Dan Gohman authored
load address has an offset from the base of the constant pool entry. llvm-svn: 56479
-