OSDN Git Service

llvm-dwp: Streamline duplicate DWO ID diagnostic handling
authorDavid Blaikie <dblaikie@gmail.com>
Mon, 16 May 2016 20:42:27 +0000 (20:42 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Mon, 16 May 2016 20:42:27 +0000 (20:42 +0000)
commit119b9304a9b02ae8740c11742055517373e8c186
tree3fc00fbe23c78e46d56b43c8e691501cd033f404
parentaddf109ca6bcbd70b5a2e6a38eaab967b7347412
llvm-dwp: Streamline duplicate DWO ID diagnostic handling

Actually use the error return path rather than printing the duplicate
information then a separate error. But also just tidy up/deduplicate
some of the code for generating the diagnostic text.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@269692 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-dwp/X86/duplicate.test
tools/llvm-dwp/llvm-dwp.cpp