1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00
llvm-mirror/lib/CodeGen/AsmPrinter
Bill Wendling 85d6ed81b7 Consider this function:
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
2010-07-16 22:51:10 +00:00
..
AsmPrinter.cpp Consider this function: 2010-07-16 22:51:10 +00:00
AsmPrinterDwarf.cpp Move EmitFrameMoves into AsmPrinter. 2010-04-04 23:41:46 +00:00
AsmPrinterInlineAsm.cpp a more graceful fix for test/Other/inline-asm-newline-terminator.ll, 2010-07-15 00:37:34 +00:00
CMakeLists.txt Add a missing dependency to this library when building with CMake. 2010-04-09 05:55:25 +00:00
DIE.cpp Use DW_FORM_addr for DW_AT_entry_pc. 2010-06-28 22:22:47 +00:00
DIE.h First cut at supporting .debug_loc section. 2010-05-25 23:40:22 +00:00
DwarfDebug.cpp Reverting r107918 and r107919. Radar 8063111. 2010-07-08 23:25:39 +00:00
DwarfDebug.h Reuse DIEInteger for 1. This is frequently used while emitting an attribute using dwarf::DW_FORM_flag form. 2010-07-08 20:10:35 +00:00
DwarfException.cpp Rename "HasCalls" in MachineFrameInfo to "AdjustsStack" to better describe what 2010-05-14 21:14:32 +00:00
DwarfException.h Rename "HasCalls" in MachineFrameInfo to "AdjustsStack" to better describe what 2010-05-14 21:14:32 +00:00
Makefile make -fno-rtti the default unless a directory builds with REQUIRES_RTTI. 2010-01-24 20:43:08 +00:00
OcamlGCPrinter.cpp Trailing whitespace. 2010-07-01 01:00:22 +00:00