[llvm-commits] CVS: llvm/lib/ExecutionEngine/ExecutionEngine.cpp

Anton Korobeynikov asl at math.spbu.ru
Thu Nov 30 16:25:35 PST 2006



Changes in directory llvm/lib/ExecutionEngine:

ExecutionEngine.cpp updated: 1.89 -> 1.90
---
Log message:

Introducing external weak linkage. Darwin codegen should be added later.


---
Diffs of the changes:  (+1 -1)

 ExecutionEngine.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/ExecutionEngine/ExecutionEngine.cpp
diff -u llvm/lib/ExecutionEngine/ExecutionEngine.cpp:1.89 llvm/lib/ExecutionEngine/ExecutionEngine.cpp:1.90
--- llvm/lib/ExecutionEngine/ExecutionEngine.cpp:1.89	Mon Nov 27 17:54:50 2006
+++ llvm/lib/ExecutionEngine/ExecutionEngine.cpp	Thu Nov 30 18:25:12 2006
@@ -681,7 +681,7 @@
         
         // Otherwise, we know it's linkonce/weak, replace it if this is a strong
         // symbol.
-        if (GV->hasExternalLinkage())
+        if (GV->hasExternalLinkage() || GVEntry->hasExternalWeakLinkage())
           GVEntry = GV;
       }
     }






More information about the llvm-commits mailing list