This is an archive of the discontinued LLVM Phabricator instance.

[ELF] - Teach LLD to use information from .debug_str for error reporting.
AbandonedPublic

Authored by grimar on Nov 1 2017, 6:24 AM.

Details

Reviewers
ruiu
rafael
Summary

D38721 teached LLD to report line numbers for duplicate valiables definitions,
though currently LLD is unable to do that for case when strings are not built in
.debug_info, but stored in .debug_str instead.

That is because out LLDDwarfObj does not handle .debug_str yet.
Patch fixes that.

Diff Detail