Fabian Giesen 6503051dcc codeview: Call register_file only when producing line numbers
Previously, debug info would refer to the first file seen, even
when it did not actually generate line numbers (e.g. segto=-1).

Fix it so we only lock in the file name the first time we actually
produce a line number record. Not as good as proper support for
debug info referencing multiple source files but much more useful
than the current behavior.

Signed-off-by: Fabian Giesen <fabiang@radgametools.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2016-04-30 16:01:30 +03:00
..
2009-08-10 16:00:43 -07:00
2010-04-21 18:09:54 +04:00
2016-04-24 20:57:52 +03:00
2016-04-24 20:02:40 +03:00
2010-05-06 15:33:24 -07:00