]> git.lizzy.rs Git - rust.git/commit
debuginfo: Improve source code position assignment for inlined functions.
authorMichael Woerister <michaelwoerister@posteo>
Thu, 27 Mar 2014 12:43:01 +0000 (13:43 +0100)
committerAlex Crichton <alex@alexcrichton.com>
Thu, 10 Apr 2014 22:21:57 +0000 (15:21 -0700)
commit43e8ace76b01820032679f276f3e298b92288ad6
tree7d3c546623875625ce60f54f6e34cc1f8c7ef900
parent5bcb76181a3b0df2df5ade348af3a1d29fca795e
debuginfo: Improve source code position assignment for inlined functions.

This commit makes sure that code inlined from other functions isn't assigned the source position of the call site, since this leads to undesired behavior when setting line breakpoints (issue #12886)
src/librustc/middle/trans/debuginfo.rs