dwarf2out.c (output_pubnames): Use comp_unit_die ()->die_offset when...
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. From-SVN: r205603
This commit is contained in:
parent
cdb02ac743
commit
858c19053b
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue