This is what other linkers and clang driver do.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Yes this seems to be valid for everything except undefined symbol errors, but I'm working on it now. LGTM.
Paths
| Differential D25780
Include ARGV[0] in error messages. ClosedPublic Authored by ruiu on Oct 19 2016, 11:10 AM.
Details Summary This is what other linkers and clang driver do.
Diff Detail
Event Timelineruiu updated this object. This revision is now accepted and ready to land.Oct 19 2016, 11:13 AM evgeny777 edited edge metadata. Comment ActionsYes this seems to be valid for everything except undefined symbol errors, but I'm working on it now. LGTM. Closed by commit rL284634: Include ARGV[0] in error messages. (authored by ruiu). · Explain WhyOct 19 2016, 1:15 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 75210 lld/trunk/ELF/Driver.cpp
lld/trunk/ELF/Error.h
lld/trunk/ELF/Error.cpp
lld/trunk/test/ELF/basic.s
lld/trunk/test/ELF/copy-rel-corrupted.s
lld/trunk/test/ELF/entry.s
lld/trunk/test/ELF/linkerscript/diagnostic.s
|