summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/empty-functions.ll
Commit message (Collapse)AuthorAgeFilesLines
* Don't print an unused label before .cfi_endproc.Rafael Espindola2012-01-091-2/+0
| | | | llvm-svn: 147763
* Don't print a label before .cfi_startproc when we don't need to. This makesRafael Espindola2012-01-071-2/+0
| | | | | | the produce assembly when using CFI just a bit more readable. llvm-svn: 147743
* Use the dwarf->llvm mapping to print register names in the cfiRafael Espindola2011-05-301-2/+2
| | | | | | | | directives. Fixes PR9826. llvm-svn: 132317
* Don't produce a __debug_frame.Rafael Espindola2011-05-051-4/+18
| | | | | | | I tested both gdb on a bootstrapped clang and and the gdb testsuite on OS X (snow leopard) and both are happy using __eh_frame. llvm-svn: 130937
* Consider this function:Bill Wendling2010-07-161-0/+15
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
OpenPOWER on IntegriCloud