lto-plugin.c (write_resolution): Do not assert syms is non-NULL.
2010-05-21 Richard Guenther <rguenther@suse.de> * lto-plugin.c (write_resolution): Do not assert syms is non-NULL. From-SVN: r159676
This commit is contained in:
parent
5b4b1c9a4e
commit
bdc89f9eff
|
@ -1,3 +1,7 @@
|
||||||
|
2010-05-21 Richard Guenther <rguenther@suse.de>
|
||||||
|
|
||||||
|
* lto-plugin.c (write_resolution): Do not assert syms is non-NULL.
|
||||||
|
|
||||||
2010-05-07 Richard Guenther <rguenther@suse.de>
|
2010-05-07 Richard Guenther <rguenther@suse.de>
|
||||||
|
|
||||||
* lto-plugin.c (free_2): Do not free resolution_file.
|
* lto-plugin.c (free_2): Do not free resolution_file.
|
||||||
|
|
|
@ -317,7 +317,6 @@ write_resolution (void)
|
||||||
struct ld_plugin_symbol *syms = symtab->syms;
|
struct ld_plugin_symbol *syms = symtab->syms;
|
||||||
unsigned j;
|
unsigned j;
|
||||||
|
|
||||||
assert (syms);
|
|
||||||
get_symbols (info->handle, symtab->nsyms, syms);
|
get_symbols (info->handle, symtab->nsyms, syms);
|
||||||
|
|
||||||
fprintf (f, "%s %d\n", info->name, info->symtab.nsyms);
|
fprintf (f, "%s %d\n", info->name, info->symtab.nsyms);
|
||||||
|
|
Loading…
Reference in New Issue