llvm-dwp: Include the dwo name (if available) when diagnosing duplicate CU IDs from...
authorDavid Blaikie <dblaikie@gmail.com>
Sat, 26 Mar 2016 20:32:14 +0000 (20:32 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Sat, 26 Mar 2016 20:32:14 +0000 (20:32 +0000)
commit4dd03f0e124ddc61d32d47ef6df7c6a996383c8f
treeb6c2a532d1809b2de0757048c53f2b6b00ac51ac
parentf43354f69c1f56016a2d7add6155332d866d4a2c
llvm-dwp: Include the dwo name (if available) when diagnosing duplicate CU IDs from dwp input files

If you're building dwps from other dwps, it can be hard to track down a
duplicate CU ID if it comes from two compilations of the same file in
different modes, etc. By including the .dwo path (which is hopefully
more unique than the file path) it can help track down where the
duplicates came from.

llvm-svn: 264520
llvm/test/tools/llvm-dwp/Inputs/duplicate_dwo_name/ac.dwp [new file with mode: 0644]
llvm/test/tools/llvm-dwp/Inputs/duplicate_dwo_name/bc.dwp [new file with mode: 0644]
llvm/test/tools/llvm-dwp/Inputs/duplicate_dwo_name/c.dwo [new file with mode: 0644]
llvm/test/tools/llvm-dwp/X86/duplicate.test
llvm/tools/llvm-dwp/llvm-dwp.cpp