Skip to content

Commit a0946b8

Browse files
committed
Init DwarfVersion of MCOptions like the other.
1 parent 3efa461 commit a0946b8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang/lib/CodeGen/BackendUtil.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -487,6 +487,7 @@ static bool initTargetOptions(const CompilerInstance &CI,
487487
break;
488488
}
489489

490+
Options.MCOptions.DwarfVersion = CodeGenOpts.DwarfVersion;
490491
Options.MCOptions.SplitDwarfFile = CodeGenOpts.SplitDwarfFile;
491492
Options.MCOptions.EmitDwarfUnwind = CodeGenOpts.getEmitDwarfUnwind();
492493
Options.MCOptions.EmitCompactUnwindNonCanonical =

0 commit comments

Comments
 (0)