re PR debug/77985 (DW_AT_comp_dir is omitted when filename is absolute and the file...
authorXimin Luo <infinity0@pwned.gg>
Mon, 24 Oct 2016 11:57:27 +0000 (12:57 +0100)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 24 Oct 2016 11:57:27 +0000 (11:57 +0000)
commit89cc66c4786c9af4251dc146b3e37eb1cce2558e
tree50f226ba04019b5bb110b9f76dc737fd9750a19c
parentc101fad870ddf376d5722e5b2a9ee0f32888d056
re PR debug/77985 (DW_AT_comp_dir is omitted when filename is absolute and the file does not contain a specific typedef)

2016-10-24  Ximin Luo  <infinity0@pwned.gg>

PR debug/77985
* dwarf2out.c (file_table_relative_p): Remove.
(gen_compile_unit_die, dwarf2out_early_finish): Emit DW_AT_comp_dir
also for absolute paths.
* doc/tm.texi: Update.
* doc/tm.texi.in (SDB and DWARF) <TARGET_FORCE_AT_COMP_DIR>: Remove.
* target.def (force_at_comp_dir): Remove hook.
* config/darwin.h (TARGET_FORCE_AT_COMP_DIR): Remove define.

From-SVN: r241473
gcc/ChangeLog
gcc/config/darwin.h
gcc/doc/tm.texi
gcc/doc/tm.texi.in
gcc/dwarf2out.c
gcc/target.def