forked from OSchip/llvm-project
Print the dependent libraries when dumping bytecode.
llvm-svn: 16275
This commit is contained in:
parent
c722311fb5
commit
c90a765368
|
@ -224,6 +224,8 @@ public:
|
||||||
virtual void handleDependentLibrary(const std::string& libName) {
|
virtual void handleDependentLibrary(const std::string& libName) {
|
||||||
bca.numLibraries++;
|
bca.numLibraries++;
|
||||||
bca.libSize += libName.size() + (libName.size() < 128 ? 1 : 2);
|
bca.libSize += libName.size() + (libName.size() < 128 ? 1 : 2);
|
||||||
|
if (os)
|
||||||
|
*os << " Library: '" << libName << "'\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual void handleModuleGlobalsEnd() {
|
virtual void handleModuleGlobalsEnd() {
|
||||||
|
|
Loading…
Reference in New Issue