[PATCH] Select new undefined atom rather than old one if other conditions are the same.

kledzik at apple.com kledzik at apple.com
Thu Nov 14 18:41:30 PST 2013



================
Comment at: lib/Core/SymbolTable.cpp:192-194
@@ +191,5 @@
+    const UndefinedAtom *newFallback = newUndef->fallback();
+    bool hasDifferentFallback =
+        (existingFallback && newFallback &&
+         existingFallback->name() != newFallback->name());
+    if (hasDifferentFallback) {
----------------
hasDifferentFallback should also be true if one has a fallback and the other does not.


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



More information about the llvm-commits mailing list