[PATCH] D26795: [ELF] Better error reporting for linker scripts
Eugene Leviant via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 17 06:07:39 PST 2016
evgeny777 created this revision.
evgeny777 added reviewers: ruiu, rafael.
evgeny777 added subscribers: grimar, ikudrin, llvm-commits.
evgeny777 set the repository for this revision to rL LLVM.
evgeny777 added a project: lld.
This patch shows both file and line for linker script errors, including:
- Errors occurred in lexer (ScriptParserBase::tokenize)
- Errors occurred in included files (via INCLUDE directive)
See updated test cases in diagnostics.s
Repository:
rL LLVM
https://reviews.llvm.org/D26795
Files:
ELF/LinkerScript.cpp
ELF/ScriptParser.cpp
ELF/ScriptParser.h
test/ELF/linkerscript/diagnostic.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26795.78358.patch
Type: text/x-patch
Size: 13230 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161117/340dca6b/attachment.bin>
More information about the llvm-commits
mailing list