diff --git a/driver/ldmd.cpp b/driver/ldmd.cpp index 57f2d92d7ce..52e7cdfe599 100644 --- a/driver/ldmd.cpp +++ b/driver/ldmd.cpp @@ -483,11 +483,13 @@ struct Params pic(false), emitMap(false), multiObj(false), + debugInfo(Debug::none), alwaysStackFrame(false), profile(false), verbose(false), vdmd(false), logTlsUse(false), + warnings(Warnings::none), optimize(false), noObj(false), objDir(0), diff --git a/gen/llvmhelpers.cpp b/gen/llvmhelpers.cpp index 667ea3e7921..0fdd54af173 100644 --- a/gen/llvmhelpers.cpp +++ b/gen/llvmhelpers.cpp @@ -1022,6 +1022,7 @@ void DtoVarDeclaration(VarDeclaration* vd) assert(!vd->aliassym && "Aliases are handled in DtoDeclarationExp."); Logger::println("vdtype = %s", vd->type->toChars()); + LOG_SCOPE if (vd->nestedrefs.dim) {