[llvm-commits] CVS: llvm/lib/Bytecode/Reader/Analyzer.cpp

Reid Spencer reid at x10sys.com
Fri Sep 10 21:14:18 PDT 2004



Changes in directory llvm/lib/Bytecode/Reader:

Analyzer.cpp updated: 1.16 -> 1.17
---
Log message:

Print the dependent libraries when dumping bytecode.


---
Diffs of the changes:  (+2 -0)

Index: llvm/lib/Bytecode/Reader/Analyzer.cpp
diff -u llvm/lib/Bytecode/Reader/Analyzer.cpp:1.16 llvm/lib/Bytecode/Reader/Analyzer.cpp:1.17
--- llvm/lib/Bytecode/Reader/Analyzer.cpp:1.16	Thu Aug 26 19:43:51 2004
+++ llvm/lib/Bytecode/Reader/Analyzer.cpp	Fri Sep 10 23:14:07 2004
@@ -224,6 +224,8 @@
   virtual void handleDependentLibrary(const std::string& libName) {
     bca.numLibraries++;
     bca.libSize += libName.size() + (libName.size() < 128 ? 1 : 2);
+    if (os)
+      *os << "      Library: '" << libName << "'\n";
   }
 
   virtual void handleModuleGlobalsEnd() { 






More information about the llvm-commits mailing list