llvm/lib
Bill Wendling dc86704114 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108568 91177308-0d34-0410-b5e6-96231b3b80d8
2010-07-16 22:51:10 +00:00
..
Analysis eliminate CallInst::ArgOffset 2010-07-16 09:38:02 +00:00
Archive
AsmParser Factor out metadata parsing into a separate function. 2010-07-14 18:26:50 +00:00
Bitcode Add support for empty metadata nodes: !{}. 2010-07-13 19:33:27 +00:00
CodeGen Consider this function: 2010-07-16 22:51:10 +00:00
CompilerDriver 80-col violation. 2010-07-01 01:00:27 +00:00
ExecutionEngine Get rid of a bunch of duplicated ELF enum values. 2010-07-16 07:53:29 +00:00
Linker Revert r107205 and r107207. 2010-06-29 22:34:52 +00:00
MC fix indentation and 80 cols 2010-07-15 21:19:31 +00:00
Support Don't pass StringRef by reference. 2010-07-14 22:38:02 +00:00
System Rather than using an ifdef on the target to zero out fields, 2010-07-14 14:32:33 +00:00
Target Remove the isMoveInstr() hook. 2010-07-16 22:35:46 +00:00
Transforms eliminate unlockedRefineAbstractTypeTo, types are all per-llvmcontext, 2010-07-16 20:50:13 +00:00
VMCore tidy up 2010-07-16 21:20:46 +00:00
Makefile