This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/53453] darwin linker expects both AT_name and AT_comp_dir debug notes
- From: "howarth at nitro dot med.uc.edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 22 May 2012 13:33:01 +0000
- Subject: [Bug debug/53453] darwin linker expects both AT_name and AT_comp_dir debug notes
- Auto-submitted: auto-generated
- References: <bug-53453-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53453
--- Comment #1 from Jack Howarth <howarth at nitro dot med.uc.edu> 2012-05-22 13:33:01 UTC ---
It looks like the lines...
if (!IS_ABSOLUTE_PATH (filename) && filename[0] != '<')
add_comp_dir_attribute (die);
in gen_compile_unit_die() of dwarf2out.c need adjusted for darwin to
insure that add_comp_dir_attribute (die) is always called.