diff options
| author | Anton Korobeynikov <asl@math.spbu.ru> | 2006-12-01 00:25:12 +0000 | 
|---|---|---|
| committer | Anton Korobeynikov <asl@math.spbu.ru> | 2006-12-01 00:25:12 +0000 | 
| commit | 12c94949e03b69eabbfce5466e3d8a57586cc809 (patch) | |
| tree | 706a8617e774bdf7dfcfded0a5af26f30ec6dfa0 /llvm/lib/ExecutionEngine | |
| parent | ad05ee9f39aabfcfd2ce2f477b0a6f8ba3ff6011 (diff) | |
| download | bcm5719-llvm-12c94949e03b69eabbfce5466e3d8a57586cc809.tar.gz bcm5719-llvm-12c94949e03b69eabbfce5466e3d8a57586cc809.zip | |
Introducing external weak linkage. Darwin codegen should be added later.
llvm-svn: 32052
Diffstat (limited to 'llvm/lib/ExecutionEngine')
| -rw-r--r-- | llvm/lib/ExecutionEngine/ExecutionEngine.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/llvm/lib/ExecutionEngine/ExecutionEngine.cpp b/llvm/lib/ExecutionEngine/ExecutionEngine.cpp index 683b4c75176..8447acf0e53 100644 --- a/llvm/lib/ExecutionEngine/ExecutionEngine.cpp +++ b/llvm/lib/ExecutionEngine/ExecutionEngine.cpp @@ -681,7 +681,7 @@ void ExecutionEngine::emitGlobals() {          // 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;        }      } | 

