From: Joshua W. <jpe...@gm...> - 2020-01-14 19:51:56
|
On 1/13/20 7:34 PM, H. Peter Anvin wrote: > On 2020-01-13 10:44, Joshua Watt wrote: >> On 12/18/19 11:46 AM, Joshua Watt wrote: >>> Adds a command line option --debug-prefix-map that changes the way file >>> paths are encoded in debug information (similar to -fdebug-prefix-map in >>> GCC). This allows nasm to generate reproducible output regardless of the >>> location of the files. >> Ping? >> > I would prefer if this could be made into a set of %pragma debug options; that > way they can be specified either in a source file or on the command line. I can do that if you think it's better, but out of curiosity, what's the utility in being able to specify the prefix mapping in the source file? It seems like isn't very useful because a source file isn't going to be able to know the location where it is checkout out to correctly set the option? > > -hpa > |