nasm/output
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
..
codeview.c codeview: Call register_file only when producing line numbers 2016-05-10 12:01:32 +03:00
dwarf.h output/dwarf.h: update dwarf constants 2009-08-10 16:00:43 -07:00
elf.h Elf: Use SHA_ANY constant instead of open coded number 2010-04-11 12:58:05 +04:00
nulldbg.c Add missing header file in output/nulldbg.c 2014-11-25 12:14:52 -08:00
nullout.c Rename SEGALIGN to SECTALIGN 2010-04-21 18:09:54 +04:00
outaout.c ofmt: get rid of the debuginfo parameter to ofmt->cleanup() 2016-03-07 22:55:43 -08:00
outaout.mac NASM: relicense under the 2-clause BSD license 2009-07-06 11:09:11 -07:00
outas86.c ofmt: get rid of the debuginfo parameter to ofmt->cleanup() 2016-03-07 22:55:43 -08:00
outas86.mac NASM: relicense under the 2-clause BSD license 2009-07-06 11:09:11 -07:00
outbin.c ofmt: get rid of the debuginfo parameter to ofmt->cleanup() 2016-03-07 22:55:43 -08:00
outbin.mac NASM: relicense under the 2-clause BSD license 2009-07-06 11:09:11 -07:00
outcoff.c ofmt: get rid of the debuginfo parameter to ofmt->cleanup() 2016-03-07 22:55:43 -08:00
outcoff.mac NASM: relicense under the 2-clause BSD license 2009-07-06 11:09:11 -07:00
outdbg.c ofmt: get rid of the debuginfo parameter to ofmt->cleanup() 2016-03-07 22:55:43 -08:00
outelf32.c ofmt: get rid of the debuginfo parameter to ofmt->cleanup() 2016-03-07 22:55:43 -08:00
outelf64.c ofmt: get rid of the debuginfo parameter to ofmt->cleanup() 2016-03-07 22:55:43 -08:00
outelf.c output: elf -- Move elf_directive into single instance 2014-08-29 20:30:57 +04:00
outelf.h output: elf -- Move common structures into outelf.h header 2014-09-21 13:03:26 +04:00
outelf.mac NASM: relicense under the 2-clause BSD license 2009-07-06 11:09:11 -07:00
outelfx32.c ofmt: get rid of the debuginfo parameter to ofmt->cleanup() 2016-03-07 22:55:43 -08:00
outform.c Defer debug format search until after command line parsing 2016-03-07 23:20:00 -08:00
outform.h Defer debug format search until after command line parsing 2016-03-07 23:20:00 -08:00
outieee.c ofmt: get rid of the debuginfo parameter to ofmt->cleanup() 2016-03-07 22:55:43 -08:00
outlib.c Add support for one-byte relocations 2010-05-06 15:33:24 -07:00
outlib.h Rename SEGALIGN to SECTALIGN 2010-04-21 18:09:54 +04:00
outmacho.c outmacho: Fix missing brace 2016-05-09 11:36:55 -07:00
outmacho.mac macho64: Manually merge macho64 branch with master branch. 2009-07-08 23:04:52 -05:00
outobj.c ofmt: get rid of the debuginfo parameter to ofmt->cleanup() 2016-03-07 22:55:43 -08:00
outobj.mac NASM: relicense under the 2-clause BSD license 2009-07-06 11:09:11 -07:00
outrdf2.c ofmt: get rid of the debuginfo parameter to ofmt->cleanup() 2016-03-07 22:55:43 -08:00
outrdf2.mac NASM: relicense under the 2-clause BSD license 2009-07-06 11:09:11 -07:00
outrdf.mac NASM: relicense under the 2-clause BSD license 2009-07-06 11:09:11 -07:00
pecoff.h coff: Add support for the Codeview 8 debug format 2016-01-24 14:14:39 +03:00
stabs.h Remove unnecessary C99-isms 2016-03-02 10:48:53 -08:00