https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65838
Bug ID: 65838 Summary: DWARF type units should have DW_AT_comp_dir when needed Product: gcc Version: 4.9.1 Status: UNCONFIRMED Severity: minor Priority: P3 Component: debug Assignee: unassigned at gcc dot gnu.org Reporter: dje at google dot com DWARF type units don't get DW_AT_comp_dir, and normally (for some definition of normally) they're not needed. But, for completeness sake, there are cases where they are. gdb bug https://sourceware.org/bugzilla/show_bug.cgi?id=18290 has a testcase.