Skip to content

Commit 459904b

Browse files
authored
Fix wrong resolution about CGDebugInfo.cpp (#12170)
We have changed the code in #6774, but we did wrong resolution recently.
1 parent 0cbf989 commit 459904b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/CodeGen/CGDebugInfo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ void CGDebugInfo::CreateCompileUnit() {
604604
.isPreprocessed()) {
605605
MainFileName = CGM.getModule().getName().str();
606606
} else {
607-
CSKind = computeChecksum(SM.getMainFileID(), Checksum);
607+
CSKind = computeChecksum(MainFileID, Checksum);
608608
}
609609
}
610610

0 commit comments

Comments
 (0)