[Bug debugedit/33602] New: Try to support "relative" paths (-ffile-prefix-map=.)
mark at klomp dot org
sourceware-bugzilla@sourceware.org
Thu Nov 6 13:40:40 GMT 2025
https://sourceware.org/bugzilla/show_bug.cgi?id=33602
Bug ID: 33602
Summary: Try to support "relative" paths (-ffile-prefix-map=.)
Product: debugedit
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: debugedit
Assignee: unassigned at sourceware dot org
Reporter: mark at klomp dot org
CC: debugedit at sourceware dot org
Target Milestone: ---
Some builds use -ffile-prefix-map=. or -fdebug-prefix-map=. this (seems to)
replace the current working directory at the start of a dir/file path with
"./".
Given that it depends on what the current working directory was when an object
file was created, which might be different for different object files linked
together "./" can mean different (absolute) paths in different compile units.
We might be able to recover the working directory using the --base dir given.
It must be some subdir under that path.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Debugedit
mailing list