]> git.lizzy.rs Git - rust.git/commit
Properly create debug info for functions
authorBjörn Steinbrink <bsteinbr@gmail.com>
Mon, 13 Jul 2015 19:48:07 +0000 (21:48 +0200)
committerBjörn Steinbrink <bsteinbr@gmail.com>
Sat, 18 Jul 2015 10:43:37 +0000 (12:43 +0200)
commit1373c4fcf21930a22150210200bdc14f5f935b3c
tree87bdc45888549e505763924625c3366b54e1a3c7
parent3f50dca3865fa510a1d80c94f2272c5ff78dc373
Properly create debug info for functions

We're currently using the actual function type as the return type when
creating the debug info for a function, so we're actually creating
debug info for a function that takes the same parameters, and returns
the actual function type, which is completely wrong.
src/librustc_trans/trans/debuginfo/metadata.rs
src/librustc_trans/trans/debuginfo/mod.rs
src/test/debuginfo/basic-types-metadata.rs