[PATCH] [PECOFF] Support a new type of weak symbol.

kledzik at apple.com kledzik at apple.com
Thu Mar 6 17:10:18 PST 2014



================
Comment at: lib/Core/SymbolTable.cpp:115-119
@@ +114,7 @@
+                                   const DefinedAtom *second) {
+  if (first->merge() == DefinedAtom::mergeSameSize ||
+      second->merge() == DefinedAtom::mergeSameSize) {
+    if (first->size() != second->size())
+      return MCR_Error;
+  }
+  return mergeCases[first->merge()][second->merge()];
----------------
I was not clear.  I meant add a MCR_SameSize case.  Use that in the table, then in the switch statement check the sizes for the MCR_SameSize case.


http://llvm-reviews.chandlerc.com/D2996

BRANCH
  master

ARCANIST PROJECT
  lld



More information about the llvm-commits mailing list