https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77985

--- Comment #7 from infinity0 at pwned dot gg ---
Created attachment 39812
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39812&action=edit
Emit DW_AT_comp_dir even if filename is an absolute path

Suggested patch attached, with a test case.

Note that without this patch, it is hard to test anything relating to
DW_AT_comp_dir in the testsuite, since it compiles the test cases using
absolute paths.

Reply via email to