[driver] Use the OutputMode to determine the value to pass with -module-name.
[driver] Use the OutputMode to determine the value to pass with -module-name.

Swift SVN r12499

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