mirror of
https://github.com/JakeHillion/object-introspection.git
synced 2024-11-09 21:24:14 +00:00
Increase template backtrace limit in clang driver (#476)
This commit is contained in:
parent
af7800e661
commit
ecc01f5742
@ -577,6 +577,7 @@ bool OICompiler::compile(const std::string& code,
|
|||||||
if (config.features[Feature::GenJitDebug]) {
|
if (config.features[Feature::GenJitDebug]) {
|
||||||
compInv->getCodeGenOpts().setDebugInfo(codegenoptions::FullDebugInfo);
|
compInv->getCodeGenOpts().setDebugInfo(codegenoptions::FullDebugInfo);
|
||||||
}
|
}
|
||||||
|
compInv->getDiagnosticOpts().TemplateBacktraceLimit = 0;
|
||||||
|
|
||||||
CompilerInstance compInstance;
|
CompilerInstance compInstance;
|
||||||
compInstance.setInvocation(compInv);
|
compInstance.setInvocation(compInv);
|
||||||
|
Loading…
Reference in New Issue
Block a user