IRGen: More precise logic in debug info emission for globals
IRGen: More precise logic in debug info emission for globals

Previously we were using "has public visibility" as a proxy for
"comes from user code", which was OK because all global variables
had public linkage, even if they were internal or private in
the AST.

Now that this is about to change, let's check that we have a
SILLocation instead.

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