- Jul 21, 2010
-
-
Jim Grosbach authored
llvm-svn: 109037
-
Dan Gohman authored
Make MDNode::destroy private. Fix the one thing that used MDNode::destroy, outside of MDNode itself. One should never delete or destroy an MDNode explicitly. MDNodes implicitly go away when there are no references to them (implementation details aside). llvm-svn: 109028
-
- Jul 20, 2010
-
-
Stuart Hastings authored
llvm-svn: 108784
-
- Jul 19, 2010
-
-
Devang Patel authored
Do not try to insert local variable info to a DIE used for function declaration. llvm-svn: 108731
-
Daniel Dunbar authored
- Unfortunate, but necessary for now to handle subtarget instruction matching. Eventually we should factor out the lower level target machine information so we don't need to do this. llvm-svn: 108664
-
- Jul 18, 2010
-
-
Daniel Dunbar authored
llvm-svn: 108645
-
- Jul 17, 2010
-
-
Bill Wendling authored
llvm-svn: 108628
-
Bill Wendling authored
void foo() { __builtin_unreachable(); } It will output the following on Darwin X86: _func1: Leh_func_begin0: pushq %rbp Ltmp0: movq %rsp, %rbp Ltmp1: Leh_func_end0: This prolog adds a new Call Frame Information (CFI) row to the FDE with an address that is not within the address range of the code it describes -- part is equal to the end of the function -- and therefore results in an invalid EH frame. If we emit a nop in this situation, then the CFI row is now within the address range. llvm-svn: 108568
-
Bill Wendling authored
thus is a much more meaningful name. llvm-svn: 108563
-
- Jul 16, 2010
-
-
Jakob Stoklund Olesen authored
TII::isMoveInstr is going tobe completely removed. llvm-svn: 108507
-
- Jul 15, 2010
-
-
Chris Lattner authored
follow on to r103765 llvm-svn: 108390
-
- Jul 09, 2010
-
-
Stuart Hastings authored
llvm-svn: 107930
-
Devang Patel authored
Relax assertion. In optimized code, it is possible that first instruction is coming from a inlined function. This fixes PR7596 . llvm-svn: 107923
-
Stuart Hastings authored
llvm-svn: 107919
-
- Jul 08, 2010
-
-
Devang Patel authored
Reuse DIEInteger for 1. This is frequently used while emitting an attribute using dwarf::DW_FORM_flag form. llvm-svn: 107903
-
Devang Patel authored
Keep track of abstract subprogram DIEs. llvm-svn: 107822
-
- Jul 07, 2010
-
-
Devang Patel authored
llvm-svn: 107810
-
Devang Patel authored
llvm-svn: 107807
-
- Jul 02, 2010
-
-
Dale Johannesen authored
PrologEpilog code, and use it to determine whether the asm forces stack alignment or not. gcc consistently does not do this for GCC-style asms; Apple gcc inconsistently sometimes does it for asm blocks. There is no convenient place to put a bit in either the SDNode or the MachineInstr form, so I've added an extra operand to each; unlovely, but it does allow for expansion for more bits, should we need it. PR 5125. Some existing testcases are affected. The operand lists of the SDNode and MachineInstr forms are indexed with awesome mnemonics, like "2"; I may fix this someday, but not now. I'm not making it any worse. If anyone is inspired I think you can find all the right places from this patch. llvm-svn: 107506
-
Bill Wendling authored
will still be stripped by the linker when it generates the final image. llvm-svn: 107440
-
- Jul 01, 2010
-
-
Bill Wendling authored
Objective-C metadata types which should be marked as "weak", but which the linker will remove upon final linkage. However, this linkage isn't specific to Objective-C. For example, the "objc_msgSend_fixup_alloc" symbol is defined like this: .globl l_objc_msgSend_fixup_alloc .weak_definition l_objc_msgSend_fixup_alloc .section __DATA, __objc_msgrefs, coalesced .align 3 l_objc_msgSend_fixup_alloc: .quad _objc_msgSend_fixup .quad L_OBJC_METH_VAR_NAME_1 This is different from the "linker_private" linkage type, because it can't have the metadata defined with ".weak_definition". Currently only supported on Darwin platforms. llvm-svn: 107433
-
Devang Patel authored
This is a regression caused by r106792 and caught by gdb testsuite. llvm-svn: 107430
-
Daniel Dunbar authored
llvm-svn: 107426
-
Mikhail Glushenkov authored
llvm-svn: 107360
-
- Jun 30, 2010
-
-
Devang Patel authored
llvm-svn: 107237
-
Devang Patel authored
Add variables into a scope before constructing scope DIE otherwise variables won't be included DIE tree. llvm-svn: 107228
-
Bill Wendling authored
llvm-svn: 107215
-
Devang Patel authored
llvm-svn: 107214
-
- Jun 29, 2010
-
-
Bill Wendling authored
metadata types which should be marked as "weak", but which the linker will remove upon final linkage. For example, the "objc_msgSend_fixup_alloc" symbol is defined like this: .globl l_objc_msgSend_fixup_alloc .weak_definition l_objc_msgSend_fixup_alloc .section __DATA, __objc_msgrefs, coalesced .align 3 l_objc_msgSend_fixup_alloc: .quad _objc_msgSend_fixup .quad L_OBJC_METH_VAR_NAME_1 This is different from the "linker_private" linkage type, because it can't have the metadata defined with ".weak_definition". llvm-svn: 107205
-
Devang Patel authored
Inspired by Artur Pietrek. llvm-svn: 107202
-
Devang Patel authored
llvm-svn: 107085
-
- Jun 28, 2010
-
-
Devang Patel authored
llvm-svn: 107065
-
Devang Patel authored
Radar 8122864. llvm-svn: 107027
-
Devang Patel authored
llvm-svn: 106990
-
- Jun 26, 2010
-
-
Devang Patel authored
llvm-svn: 106895
-
- Jun 24, 2010
-
-
Devang Patel authored
DBG_VALUE machine instruction pointing to undefined register for a variable justify a separate scope if the variable is inlined function's argument. Radar 8122864. llvm-svn: 106792
-
- Jun 22, 2010
-
-
Devang Patel authored
getNamedMetadata(). llvm-svn: 106518
-
Devang Patel authored
llvm-svn: 106516
-
Devang Patel authored
llvm-svn: 106515
-
- Jun 18, 2010
-
-
Dan Gohman authored
switch from this: if (TimePassesIsEnabled) { NamedRegionTimer T(Name, GroupName); do_something(); } else { do_something(); // duplicate the code, this time without a timer! } to this: { NamedRegionTimer T(Name, GroupName, TimePassesIsEnabled); do_something(); } llvm-svn: 106285
-