Re: [PATCH] Ability to remap file names in __FILE__, etc (PR other/70268)

2017-12-06 Thread David Malcolm
On Fri, 2017-11-17 at 12:10 +0200, Boris Kolpackov wrote: > The below patch adds the -fmacro-prefix-map option that allows > remapping > of file names in __FILE__, __BASE_FILE__, and __builtin_FILE(), > similar > to how -fdebug-prefix-map allows to do the same for debug > information. > > Addition

[PATCH] Ability to remap file names in __FILE__, etc (PR other/70268)

2017-11-17 Thread Boris Kolpackov
The below patch adds the -fmacro-prefix-map option that allows remapping of file names in __FILE__, __BASE_FILE__, and __builtin_FILE(), similar to how -fdebug-prefix-map allows to do the same for debug information. Additionally, the patch adds -ffile-prefix-map which can be used to specify both m