[PATCH] D65213: [ELF] With --vs-diagnostics, print a separate message for each location of a duplicate symbol.
    Rui Ueyama via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed Jul 31 18:23:12 PDT 2019
    
    
  
ruiu added inline comments.
================
Comment at: test/ELF/vs-diagnostics-duplicate.s:12
+// CHECK:      duplicate2.s(20): error: duplicate symbol: bar
+// CHECK-NEXT: >>> defined at duplicate2.s:20
+// CHECK-NEXT: >>>{{.*}}2.o:(.text+0x{{.+}})
----------------
What about this line? It seems that the second line (e.g. "defined at duplicate2.s:20") is always repeating the same location as the first line (e.g. "duplicate2.s(20: error: ...").
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D65213/new/
https://reviews.llvm.org/D65213
    
    
More information about the llvm-commits
mailing list