mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-11 18:33:14 +01:00
Verbose log prettification.
This commit is contained in:
@@ -75,6 +75,7 @@ LLType* DtoType(Type* t)
|
||||
}
|
||||
|
||||
IF_LOG Logger::println("Building type: %s", t->toChars());
|
||||
LOG_SCOPE;
|
||||
|
||||
assert(t);
|
||||
switch (t->ty)
|
||||
|
||||
@@ -222,7 +222,7 @@ llvm::Type* IrTypeStruct::buildType()
|
||||
// set struct body
|
||||
isaStruct(type)->setBody(defaultTypes, packed);
|
||||
|
||||
IF_LOG Logger::cout() << "final struct type: " << type << std::endl;
|
||||
IF_LOG Logger::cout() << "final struct type: " << *type << std::endl;
|
||||
|
||||
return type;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user