Skip to content

Commit 1a402b0

Browse files
committed
Init DwarfVersion of MCOptions like the other.
1 parent a75587d commit 1a402b0

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
@@ -486,6 +486,7 @@ static bool initTargetOptions(const CompilerInstance &CI,
486486
break;
487487
}
488488

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

0 commit comments

Comments
 (0)