mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-05-18 06:38:41 +00:00
Print the dependent libraries when dumping bytecode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16275 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8bb825067f
commit
3ee8eed034
@ -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…
x
Reference in New Issue
Block a user