https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108534
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
const char *remapped = remap_debug_filename (xloc.file);
if (ob->emit_pwd && remapped && !IS_ABSOLUTE_PATH (remapped))
{
stream_pwd = true;
ob->emit_pwd = false;
}
bp_pack_value (bp, stream_pwd, 1);
if (stream_pwd)
bp_pack_string (ob, bp, get_src_pwd (), true);
It specifically streams out the pwd if there was a remapping happening
and if the remapping was not an absolute path ....
So what options are being passed here? is the remapping in one case to a
relative path and then the cwd also gets remapped? Is that also being remapped
to a relative path?