mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-06 23:13:13 +01:00
Add an llvm::OStream workalike class for use with Logger::cout(), with the
crucial difference being special handling of `llvm::Type`s so they get printed by name rather than printing their full representation (which can be positively *huge*). This allows re-enabling some logger calls that were disabled due to extreme verbosity.
This commit is contained in:
@@ -281,9 +281,7 @@ const llvm::Type* IrTypeClass::buildType()
|
||||
name.append(".__vtbl");
|
||||
Type::sir->getState()->module->addTypeName(name, vtbl_pa.get());
|
||||
|
||||
#if 0
|
||||
IF_LOG Logger::cout() << "class type: " << *pa.get() << std::endl;
|
||||
#endif
|
||||
|
||||
return get();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user