Skip to content
Commit 6696e22c authored by Daniel Dunbar's avatar Daniel Dunbar
Browse files

IRgen: Fix debug info regression in r106970; when we eliminate the return value

store make sure to move the debug metadata from the store (which is actual
'return' statement location) to the return instruction (which otherwise would
have the function end location as its debug info).
 - Tested by gdb test suite.

llvm-svn: 107322
parent caf9b3ab
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment