[PATCH] D25513: [ELF] - Improve diagnostics on duplicate STT_SECTION symbol.

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 15 09:47:26 PST 2016


davide added inline comments.


================
Comment at: test/ELF/invalid/report-duplicates.test:3
+# RUN: not ld.lld %t.o -o %tout 2>&1 | FileCheck %s
+# CHECK: duplicate symbol '' in {{.*}}.o and {{.*}}.o
+
----------------
ruiu wrote:
> This error message doesn't make sense.
ehm, a symbol with an empty name reported as duplicated to the use is not really helpful (if not misleading).


https://reviews.llvm.org/D25513





More information about the llvm-commits mailing list