mirror of
https://github.com/intel/llvm.git
synced 2026-02-02 10:08:59 +08:00
verify-di: Call debug info verifier from clang
This is paired with a patch to LLVM that creates a separate pass for verifying debug info. <rdar://problem/15500563> llvm-svn: 206301
This commit is contained in:
@@ -334,6 +334,8 @@ void EmitAssemblyHelper::CreatePasses() {
|
||||
|
||||
// Set up the per-module pass manager.
|
||||
PassManager *MPM = getPerModulePasses();
|
||||
if (CodeGenOpts.VerifyModule)
|
||||
MPM->add(createDebugInfoVerifierPass());
|
||||
|
||||
if (!CodeGenOpts.DisableGCov &&
|
||||
(CodeGenOpts.EmitGcovArcs || CodeGenOpts.EmitGcovNotes)) {
|
||||
|
||||
Reference in New Issue
Block a user