summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2010-07-16 22:51:10 +0000
committerBill Wendling <isanbard@gmail.com>2010-07-16 22:51:10 +0000
commitbf8370ff36b504dfecd0594568f97c7a1a895c62 (patch)
treea4c471a2f02d5f01b39fce4fe3cdd2ff746cddb6 /llvm/lib/Bitcode
parent8289f785695aa15912dda5b3cd2251d9bbba3414 (diff)
downloadbcm5719-llvm-bf8370ff36b504dfecd0594568f97c7a1a895c62.tar.gz
bcm5719-llvm-bf8370ff36b504dfecd0594568f97c7a1a895c62.zip
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
Diffstat (limited to 'llvm/lib/Bitcode')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud