[llvm-commits] CVS: llvm/lib/Transforms/Utils/Linker.cpp
Chris Lattner
lattner at cs.uiuc.edu
Tue Dec 3 12:33:00 PST 2002
Changes in directory llvm/lib/Transforms/Utils:
Linker.cpp updated: 1.34 -> 1.35
---
Log message:
Fix big bug introduced with symbol table changes
---
Diffs of the changes:
Index: llvm/lib/Transforms/Utils/Linker.cpp
diff -u llvm/lib/Transforms/Utils/Linker.cpp:1.34 llvm/lib/Transforms/Utils/Linker.cpp:1.35
--- llvm/lib/Transforms/Utils/Linker.cpp:1.34 Wed Nov 20 12:34:39 2002
+++ llvm/lib/Transforms/Utils/Linker.cpp Tue Dec 3 12:32:30 2002
@@ -173,7 +173,7 @@
map<const Value*, Value*> &ValueMap, string *Err = 0) {
// We will need a module level symbol table if the src module has a module
// level symbol table...
- SymbolTable *ST = (SymbolTable*)&Src->getSymbolTable();
+ SymbolTable *ST = (SymbolTable*)&Dest->getSymbolTable();
// Loop over all of the globals in the src module, mapping them over as we go
//
@@ -263,7 +263,7 @@
string *Err = 0) {
// We will need a module level symbol table if the src module has a module
// level symbol table...
- SymbolTable *ST = (SymbolTable*)&Src->getSymbolTable();
+ SymbolTable *ST = (SymbolTable*)&Dest->getSymbolTable();
// Loop over all of the functions in the src module, mapping them over as we
// go
More information about the llvm-commits
mailing list