A temporary workaround for a use-after-free issue related to debug scopes.
A temporary workaround for a use-after-free issue related to debug scopes.

This fix is just to unblock the subsequent commit. Adrian is working on a proper solution for this issue.

rdar://22017421 and rdar://23306385

arvedviehweger/swift,IngmarStein/swift,xwu/swift,dreamsxin/swift,brentdax/swift,nathawes/swift,roambotics/swift,return/swift,gribozavr/swift,mightydeveloper/swift,kperryua/swift,emilstahl/swift,SwiftAndroid/swift,aschwaighofer/swift,gribozavr/swift,arvedviehweger/swift,cbrentharris/swift,gottesmm/swift,danielmartin/swift,frootloops/swift,rudkx/swift,rudkx/swift,ben-ng/swift,uasys/swift,danielmartin/swift,johnno1962d/swift,xedin/swift,kstaring/swift,danielmartin/swift,amraboelela/swift,parkera/swift,tjw/swift,tkremenek/swift,hooman/swift,jtbandes/swift,swiftix/swift,parkera/swift,uasys/swift,Ivacker/swift,return/swift,atrick/swift,parkera/swift,sschiau/swift,shahmishal/swift,swiftix/swift,ahoppen/swift,xedin/swift,sdulal/swift,brentdax/swift,JGiola/swift,practicalswift/swift,rudkx/swift,apple/swift,LeoShimonaka/swift,LeoShimonaka/swift,jckarter/swift,dduan/swift,stephentyrone/swift,ben-ng/swift,JaSpa/swift,austinzheng/swift,KrishMunot/swift,tkremenek/swift,manavgabhawala/swift,roambotics/swift,allevato/swift,dreamsxin/swift,emilstahl/swift,adrfer/swift,ben-ng/swift,deyton/swift,alblue/swift,amraboelela/swift,gregomni/swift,tjw/swift,modocache/swift,slavapestov/swift,sschiau/swift,calebd/swift,kperryua/swift,jopamer/swift,gottesmm/swift,sschiau/swift,tjw/swift,felix91gr/swift,atrick/swift,allevato/swift,felix91gr/swift,parkera/swift,karwa/swift,manavgabhawala/swift,cbrentharris/swift,gmilos/swift,uasys/swift,sdulal/swift,shajrawi/swift,manavgabhawala/swift,jckarter/swift,milseman/swift,xedin/swift,airspeedswift/swift,KrishMunot/swift,djwbrown/swift,kusl/swift,stephentyrone/swift,jtbandes/swift,sdulal/swift,therealbnut/swift,shahmishal/swift,shahmishal/swift,modocache/swift,SwiftAndroid/swift,gottesmm/swift,IngmarStein/swift,hooman/swift,airspeedswift/swift,johnno1962d/swift,amraboelela/swift,JaSpa/swift,parkera/swift,mightydeveloper/swift,JaSpa/swift,roambotics/swift,shajrawi/swift,lorentey/swift,stephentyrone/swift,tinysun212/swift-windows,codestergit/swift,danielmartin/swift,zisko/swift,apple/swift,airspeedswift/swift,slavapestov/swift,khizkhiz/swift,glessard/swift,return/swift,emilstahl/swift,benlangmuir/swift,benlangmuir/swift,milseman/swift,dduan/swift,austinzheng/swift,MukeshKumarS/Swift,hughbe/swift,stephentyrone/swift,Jnosh/swift,amraboelela/swift,sschiau/swift,Jnosh/swift,frootloops/swift,frootloops/swift,JGiola/swift,swiftix/swift,benlangmuir/swift,KrishMunot/swift,practicalswift/swift,karwa/swift,emilstahl/swift,KrishMunot/swift,lorentey/swift,xedin/swift,SwiftAndroid/swift,jtbandes/swift,MukeshKumarS/Swift,xwu/swift,calebd/swift,deyton/swift,deyton/swift,OscarSwanros/swift,ken0nek/swift,gottesmm/swift,bitjammer/swift,calebd/swift,gribozavr/swift,khizkhiz/swift,codestergit/swift,practicalswift/swift,johnno1962d/swift,therealbnut/swift,therealbnut/swift,manavgabhawala/swift,sdulal/swift,russbishop/swift,brentdax/swift,jopamer/swift,gmilos/swift,kstaring/swift,natecook1000/swift,arvedviehweger/swift,aschwaighofer/swift,lorentey/swift,CodaFi/swift,LeoShimonaka/swift,kentya6/swift,slavapestov/swift,JGiola/swift,benlangmuir/swift,kentya6/swift,emilstahl/swift,tjw/swift,shahmishal/swift,allevato/swift,kperryua/swift,kstaring/swift,aschwaighofer/swift,codestergit/swift,return/swift,devincoughlin/swift,therealbnut/swift,tardieu/swift,jckarter/swift,tjw/swift,austinzheng/swift,allevato/swift,emilstahl/swift,frootloops/swift,huonw/swift,gregomni/swift,arvedviehweger/swift,kusl/swift,xwu/swift,mightydeveloper/swift,devincoughlin/swift,arvedviehweger/swift,sschiau/swift,felix91gr/swift,brentdax/swift,jckarter/swift,harlanhaskins/swift,jmgc/swift,karwa/swift,practicalswift/swift,huonw/swift,bitjammer/swift,hooman/swift,OscarSwanros/swift,ahoppen/swift,IngmarStein/swift,xwu/swift,Jnosh/swift,parkera/swift,emilstahl/swift,nathawes/swift,khizkhiz/swift,OscarSwanros/swift,hughbe/swift,adrfer/swift,shajrawi/swift,alblue/swift,tkremenek/swift,parkera/swift,JaSpa/swift,swiftix/swift.old,LeoShimonaka/swift,adrfer/swift,dduan/swift,kperryua/swift,codestergit/swift,swiftix/swift.old,glessard/swift,danielmartin/swift,ken0nek/swift,IngmarStein/swift,uasys/swift,gmilos/swift,karwa/swift,modocache/swift,bitjammer/swift,tardieu/swift,parkera/swift,devincoughlin/swift,deyton/swift,stephentyrone/swift,khizkhiz/swift,glessard/swift,gribozavr/swift,apple/swift,aschwaighofer/swift,SwiftAndroid/swift,russbishop/swift,harlanhaskins/swift,shajrawi/swift,tardieu/swift,kusl/swift,tardieu/swift,natecook1000/swift,ken0nek/swift,alblue/swift,gmilos/swift,tkremenek/swift,johnno1962d/swift,Jnosh/swift,sschiau/swift,swiftix/swift,stephentyrone/swift,russbishop/swift,zisko/swift,tjw/swift,jopamer/swift,devincoughlin/swift,devincoughlin/swift,cbrentharris/swift,xedin/swift,karwa/swift,khizkhiz/swift,SwiftAndroid/swift,xwu/swift,JaSpa/swift,jmgc/swift,bitjammer/swift,kstaring/swift,tardieu/swift,jmgc/swift,CodaFi/swift,danielmartin/swift,swiftix/swift.old,tardieu/swift,OscarSwanros/swift,roambotics/swift,kentya6/swift,swiftix/swift.old,nathawes/swift,natecook1000/swift,zisko/swift,natecook1000/swift,glessard/swift,therealbnut/swift,cbrentharris/swift,Jnosh/swift,practicalswift/swift,kentya6/swift,huonw/swift,CodaFi/swift,MukeshKumarS/Swift,tjw/swift,OscarSwanros/swift,swiftix/swift.old,IngmarStein/swift,milseman/swift,CodaFi/swift,adrfer/swift,mightydeveloper/swift,swiftix/swift,practicalswift/swift,johnno1962d/swift,tardieu/swift,huonw/swift,emilstahl/swift,gottesmm/swift,gribozavr/swift,practicalswift/swift,kusl/swift,xwu/swift,return/swift,gmilos/swift,kstaring/swift,zisko/swift,LeoShimonaka/swift,johnno1962d/swift,roambotics/swift,hughbe/swift,alblue/swift,harlanhaskins/swift,Ivacker/swift,tinysun212/swift-windows,gribozavr/swift,cbrentharris/swift,MukeshKumarS/Swift,MukeshKumarS/Swift,lorentey/swift,adrfer/swift,hughbe/swift,return/swift,shahmishal/swift,alblue/swift,deyton/swift,austinzheng/swift,airspeedswift/swift,frootloops/swift,deyton/swift,harlanhaskins/swift,danielmartin/swift,hughbe/swift,lorentey/swift,alblue/swift,djwbrown/swift,hooman/swift,calebd/swift,uasys/swift,ben-ng/swift,jtbandes/swift,JaSpa/swift,austinzheng/swift,jckarter/swift,gottesmm/swift,lorentey/swift,xedin/swift,kusl/swift,ahoppen/swift,zisko/swift,arvedviehweger/swift,tinysun212/swift-windows,JGiola/swift,kentya6/swift,calebd/swift,gribozavr/swift,slavapestov/swift,JGiola/swift,djwbrown/swift,ken0nek/swift,shajrawi/swift,IngmarStein/swift,tinysun212/swift-windows,rudkx/swift,shahmishal/swift,jmgc/swift,harlanhaskins/swift,dduan/swift,jopamer/swift,ken0nek/swift,KrishMunot/swift,arvedviehweger/swift,gregomni/swift,tinysun212/swift-windows,mightydeveloper/swift,milseman/swift,frootloops/swift,codestergit/swift,benlangmuir/swift,glessard/swift,jmgc/swift,jtbandes/swift,zisko/swift,jopamer/swift,milseman/swift,xwu/swift,shahmishal/swift,alblue/swift,hooman/swift,shajrawi/swift,kperryua/swift,nathawes/swift,modocache/swift,Ivacker/swift,rudkx/swift,manavgabhawala/swift,frootloops/swift,nathawes/swift,brentdax/swift,Ivacker/swift,sschiau/swift,airspeedswift/swift,IngmarStein/swift,slavapestov/swift,nathawes/swift,SwiftAndroid/swift,mightydeveloper/swift,modocache/swift,kperryua/swift,kentya6/swift,felix91gr/swift,gmilos/swift,airspeedswift/swift,russbishop/swift,ben-ng/swift,apple/swift,mightydeveloper/swift,amraboelela/swift,MukeshKumarS/Swift,johnno1962d/swift,Jnosh/swift,devincoughlin/swift,cbrentharris/swift,nathawes/swift,adrfer/swift,allevato/swift,Ivacker/swift,djwbrown/swift,tkremenek/swift,allevato/swift,zisko/swift,amraboelela/swift,sdulal/swift,xedin/swift,aschwaighofer/swift,CodaFi/swift,return/swift,harlanhaskins/swift,karwa/swift,ben-ng/swift,sdulal/swift,swiftix/swift.old,calebd/swift,OscarSwanros/swift,felix91gr/swift,atrick/swift,sdulal/swift,gottesmm/swift,Jnosh/swift,adrfer/swift,CodaFi/swift,devincoughlin/swift,karwa/swift,hughbe/swift,swiftix/swift,glessard/swift,xedin/swift,jckarter/swift,slavapestov/swift,felix91gr/swift,bitjammer/swift,brentdax/swift,ahoppen/swift,bitjammer/swift,karwa/swift,hooman/swift,modocache/swift,swiftix/swift.old,codestergit/swift,gregomni/swift,Ivacker/swift,djwbrown/swift,MukeshKumarS/Swift,jtbandes/swift,kusl/swift,lorentey/swift,KrishMunot/swift,CodaFi/swift,milseman/swift,mightydeveloper/swift,jckarter/swift,jopamer/swift,jopamer/swift,lorentey/swift,roambotics/swift,ahoppen/swift,huonw/swift,practicalswift/swift,calebd/swift,uasys/swift,dduan/swift,ben-ng/swift,khizkhiz/swift,codestergit/swift,djwbrown/swift,austinzheng/swift,tinysun212/swift-windows,kperryua/swift,OscarSwanros/swift,dduan/swift,LeoShimonaka/swift,shajrawi/swift,russbishop/swift,shahmishal/swift,ken0nek/swift,austinzheng/swift,Ivacker/swift,ken0nek/swift,jmgc/swift,uasys/swift,djwbrown/swift,aschwaighofer/swift,milseman/swift,natecook1000/swift,gribozavr/swift,shajrawi/swift,deyton/swift,apple/swift,atrick/swift,hooman/swift,hughbe/swift,tkremenek/swift,airspeedswift/swift,kusl/swift,natecook1000/swift,kstaring/swift,LeoShimonaka/swift,KrishMunot/swift,aschwaighofer/swift,swiftix/swift.old,stephentyrone/swift,allevato/swift,amraboelela/swift,manavgabhawala/swift,huonw/swift,atrick/swift,brentdax/swift,ahoppen/swift,kentya6/swift,khizkhiz/swift,swiftix/swift,dduan/swift,russbishop/swift,cbrentharris/swift,gmilos/swift,jtbandes/swift,harlanhaskins/swift,tinysun212/swift-windows,gregomni/swift,JGiola/swift,therealbnut/swift,felix91gr/swift,russbishop/swift,kstaring/swift,atrick/swift,manavgabhawala/swift,tkremenek/swift,rudkx/swift,SwiftAndroid/swift,therealbnut/swift,jmgc/swift,modocache/swift,benlangmuir/swift,apple/swift,sdulal/swift,LeoShimonaka/swift,cbrentharris/swift,devincoughlin/swift,slavapestov/swift,sschiau/swift,JaSpa/swift,gregomni/swift,natecook1000/swift,Ivacker/swift,bitjammer/swift,kentya6/swift,kusl/swift,huonw/swift