We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e51937f commit 8d6c55eCopy full SHA for 8d6c55e
lib/SIL/Verifier/SILVerifier.cpp
@@ -6261,6 +6261,8 @@ class SILVerifier : public SILVerifierBase<SILVerifier> {
6261
// instructions for the loop variable, but in a deeper scope.
6262
if (isa<IncrementProfilerCounterInst>(SI))
6263
continue;
6264
+ if (!SI.getLoc().hasValidLineNumber())
6265
+ continue;
6266
if (SI.getLoc().getKind() == SILLocation::CleanupKind)
6267
6268
// FIXME: These still leave holes in the scopes. We should make them
0 commit comments