[PATCH] D16647: ELF: Report duplicate symbols as many as possible instead of the first one.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 29 11:45:26 PST 2016


ruiu closed this revision.

================
Comment at: ELF/SymbolTable.cpp:50
@@ -49,1 +49,3 @@
 void SymbolTable<ELFT>::addFile(std::unique_ptr<InputFile> File) {
+  if (!isCompatible<ELFT>(File.get()))
+    return;
----------------
rafael wrote:
> Why not use FileP?
Done.


http://reviews.llvm.org/D16647





More information about the llvm-commits mailing list