[PATCH] D27900: [ELF] - Keep the source file/line location information separate from the object file location information.
Sean Silva via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Dec 18 13:44:19 PST 2016
silvas added a comment.
error: file-dbg2.o: duplicate symbol 'zed'
error: file-dbg2.a(file-dbg2.o): previous definition was here
note: definitions found in conflict-debug.s(.text+0x0) and conflict-debug.s(.text+0x0)
In general, we should assume that file names are going to be very long, so we should avoid having two of them on the same line. Can you follow the approach that the clang diagnostics use? (I pasted an example in: https://reviews.llvm.org/D27676#622869). I.e. "error: note: error: note:"
https://reviews.llvm.org/D27900
More information about the llvm-commits
mailing list