[llvm-commits] CVS: llvm/lib/Linker/LinkArchives.cpp

Reid Spencer reid at x10sys.com
Sat Nov 11 12:28:04 PST 2006



Changes in directory llvm/lib/Linker:

LinkArchives.cpp updated: 1.53 -> 1.54
---
Log message:

Remvoe a do-nothing else block.


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

 LinkArchives.cpp |    7 +------
 1 files changed, 1 insertion(+), 6 deletions(-)


Index: llvm/lib/Linker/LinkArchives.cpp
diff -u llvm/lib/Linker/LinkArchives.cpp:1.53 llvm/lib/Linker/LinkArchives.cpp:1.54
--- llvm/lib/Linker/LinkArchives.cpp:1.53	Sat Nov 11 05:54:25 2006
+++ llvm/lib/Linker/LinkArchives.cpp	Sat Nov 11 14:27:49 2006
@@ -165,12 +165,7 @@
           return error("Cannot link in module '" +
                        aModule->getModuleIdentifier() + "': " + moduleErrorMsg);
         }
-      } else {
-	// (scottm) NOTE: For some reason, Modules.empty() isn't entirely 
-        // accurrate, least with gcc 4.1.2 on Debian and doesn't return true 
-        // when it ought.  Consequently, aModule can be NULL -- ignore it for 
-        // the time being, since it seems relatively benign.
-      }
+      } 
     }
     
     // Get the undefined symbols from the aggregate module. This recomputes the






More information about the llvm-commits mailing list