[PATCH] D26857: [ELF] Print output name for command line errors
Eugene Leviant via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 18 08:04:01 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.
What I'm trying to do is to simplify processing lld output by automated parsing tool.
Ideally I'd like to have something like this for every warning or error message:
<path_to_ld.lld> : error|warning : <location> : <message>
This makes it easy to extract semantic values from error message and change its format if needed.
For instance MS Visual Studio expects error message in this format:
<location> : error : <message>
And one just needs to swap tokens to get the desired result.
I haven't updated unit tests yet - will do if this patch is a right thing.
Repository:
rL LLVM
https://reviews.llvm.org/D26857
Files:
ELF/Driver.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26857.78528.patch
Type: text/x-patch
Size: 7517 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161118/8823cd82/attachment.bin>
More information about the llvm-commits
mailing list