[driver] Only build a swiftmodule for debug purposes if we are linking.
[driver] Only build a swiftmodule for debug purposes if we are linking.

Swift SVN r12926

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