diff options
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/dwarf2out.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1285f23..1d65e4a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2013-12-02 Sterling Augustine <saugustine@google.com> + + * dwarf2out.c (output_pubnames): Use comp_unit_die ()->die_offset + when there isn't a skeleton die. + 2013-12-02 Marek Polacek <polacek@redhat.com> PR sanitizer/59353 diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 14d1bf7..59a7e4c 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -9293,7 +9293,7 @@ output_pubnames (vec<pubname_entry, va_gc> *names) if (type_node != NULL) die_offset = (type_node->skeleton_die != NULL ? type_node->skeleton_die->die_offset - : 0); + : comp_unit_die ()->die_offset); } output_pubname (die_offset, pub); |
