Fabian Giesen c74a709885 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-05-10 12:01:32 +03:00
..
2009-08-10 16:00:43 -07:00
2010-04-21 18:09:54 +04:00
2010-05-06 15:33:24 -07:00
2010-04-21 18:09:54 +04:00
2016-05-09 11:36:55 -07:00
2016-03-02 10:48:53 -08:00