Print the dependent libraries when dumping bytecode.

llvm-svn: 16275
This commit is contained in:
Reid Spencer 2004-09-11 04:14:07 +00:00
parent c722311fb5
commit c90a765368
1 changed files with 2 additions and 0 deletions

View File

@ -224,6 +224,8 @@ public:
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() {