Enable debug info in CodeGenOptions.

This commit is contained in:
Axel Naumann 2015-02-24 14:26:42 +01:00 committed by sftnight
parent fa03cc7c5a
commit ad16c82748

View File

@ -725,7 +725,8 @@ namespace {
CI->createSema(TU_Complete, CCC);
// Set CodeGen options
// CI->getCodeGenOpts().DebugInfo = 1; // want debug info
// want debug info
CI->getCodeGenOpts().setDebugInfo(clang::CodeGenOptions::FullDebugInfo);
// CI->getCodeGenOpts().EmitDeclMetadata = 1; // For unloading, for later
CI->getCodeGenOpts().OptimizationLevel = 0; // see pure SSA, that comes out
CI->getCodeGenOpts().CXXCtorDtorAliases = 0; // aliasing the complete