projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8bb8250
)
Print the dependent libraries when dumping bytecode.
author
Reid Spencer
<rspencer@reidspencer.com>
Sat, 11 Sep 2004 04:14:07 +0000
(
04:14
+0000)
committer
Reid Spencer
<rspencer@reidspencer.com>
Sat, 11 Sep 2004 04:14:07 +0000
(
04:14
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16275
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Bytecode/Reader/Analyzer.cpp
patch
|
blob
|
history
diff --git
a/lib/Bytecode/Reader/Analyzer.cpp
b/lib/Bytecode/Reader/Analyzer.cpp
index adaaa7c39abcc005b7baceea39b08f9d2ac4fd81..73f2e4eee69ab523e515c7465e51f321e1e17575 100644
(file)
--- a/
lib/Bytecode/Reader/Analyzer.cpp
+++ b/
lib/Bytecode/Reader/Analyzer.cpp
@@
-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() {