------- Comment #1 from jakub at gcc dot gnu dot org 2008-09-02 15:02 ------- Created an attachment (id=16194) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16194&action=view) Q
I can believe your comment #5, but I can't believe DW_AT_name is not emitted at all (just tried it with x86_64-linux -> i686-darwin9 cross). Darwin, as it probably doesn't support mergeable .debug_str, at -gdwarf-2 -O0 -dA outputs DW_AT_name for __BLNK__ and label as inline strings rather than references to .debug_str and the regexps were expecting just the latter. This patch should handle both variants. This fixes this testcase for me in the cross. Can you test it on native darwin? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37322