[llvm] r225562 - Use the DiagnosticHandler to print diagnostics when reading bitcode.
Rafael EspĂndola
rafael.espindola at gmail.com
Thu Feb 26 09:52:47 PST 2015
> Any non-trivial output from `clang-3.5 -gline-tables-only -flto` should
> cause ToT gold-plugin to crash if this stripping isn't in place, but
> I'm not sure who uses gold-plugin in production (or what the
> assumptions are around it) so maybe it's not too important right now.
>
You are right:
http://llvm.org/bugs/show_bug.cgi?id=22713
I guess the only reasonable solution is for the plugin to call
UpgradeDebugInfo, no? There is no point in doing it during claim_file
since we are just looking for symbols and without a call to
Materialize the bitcode reader doesn't know if we are already in
all_symbols_read or not.
I will give that a try.
Thanks,
Rafael
More information about the llvm-commits
mailing list