This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/70428] -fdebug-prefix-map did not support to remap sources with relative path
- From: "joseph at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 29 Mar 2016 23:07:08 +0000
- Subject: [Bug other/70428] -fdebug-prefix-map did not support to remap sources with relative path
- Auto-submitted: auto-generated
- References: <bug-70428-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70428
--- Comment #1 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
I don't think -fdebug-prefix-map is meant to cover this case; you're meant
to use it with paths in the form in which they appear in debug info, which
means passing such an option with the pwd (and options with absolute -I
paths etc.), not an option with a combination of the pwd and a path passed
to the compiler.