mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-03 00:20:40 +03: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:
parent
348192e7e7
commit
4158fb474a
11 changed files with 93 additions and 22 deletions
|
@ -491,9 +491,7 @@ LLValue* DtoIndexClass(LLValue* src, ClassDeclaration* cd, VarDeclaration* vd)
|
|||
{
|
||||
Logger::cout() << "src2: " << *src << '\n';
|
||||
Logger::cout() << "index: " << field->index << '\n';
|
||||
#if 0
|
||||
Logger::cout() << "srctype: " << *src->getType() << '\n';
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
LLValue* val = DtoGEPi(src, 0, field->index);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue