https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88040
Johannes Pfau <johannespfau at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |johannespfau at gmail dot com
--- Comment #2 from Johannes Pfau <johannespfau at gmail dot com> ---
I don't think -fmodule-file= can be used for this: AFAICS it only applies to
single files, so it's inconvenient when a complete directory needs to be
remapped. There's also a conceptual difference:
-fmodule-file= is used to tell the compiler where to find a file, if the normal
module=>filename algorithm can't find the file in the -I paths.
-ffile-prefix-map is used if files can be found just fine using the normal
module=>filename algorithm in the -I path, but you want the paths recorded in
debug info, __FILE_FULL_PATH__ and so on to be different.