commit | 21fcc8f01246b91dbef65e7af85f2f0947758a00 | [log] [tgz] |
---|---|---|
author | Daniel Dunbar <daniel@zuster.org> | Wed Jun 30 21:27:58 2010 +0000 |
committer | Daniel Dunbar <daniel@zuster.org> | Wed Jun 30 21:27:58 2010 +0000 |
tree | 67379de000a7245ead590ca191d27162e4547e35 | |
parent | 727bd9731c4d9f8a369dc82afae39ad9877f92ab [diff] |
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107322 91177308-0d34-0410-b5e6-96231b3b80d8