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 2dd6954 commit 2f23375Copy full SHA for 2f23375
lib/IRGen/IRGenSIL.cpp
@@ -965,6 +965,8 @@ class IRGenSILFunction :
965
bool shouldShadowVariable(SILDebugVariable varInfo, bool isAnonymous) {
966
return !IGM.IRGen.Opts.DisableDebuggerShadowCopies
967
&& !IGM.IRGen.Opts.shouldOptimize()
968
+ && !CurSILFn->wasDeserializedCanonical()
969
+ && (!CurSILFn->isSpecialization() || !CurSILFn->getSpecializationInfo()->getParent()->wasDeserializedCanonical())
970
&& !isAnonymous;
971
}
972
0 commit comments