[Sanitizer] Don't depend on symbolication in `asan_recover.swift`. (#28290)
[Sanitizer] Don't depend on symbolication in `asan_recover.swift`. (#28290)

Relying on symbolication via `atos` unfortunately does not seem to be
a good idea because there are several testing scenarios where this
doesn't work and we fallback to `dladdr()` for Darwin platforms.

To workaround this, the `asan_recover.swift` test has been changed
to just test for the function name which covers the fully-symbolicated
and partially symbolicated case (`dladdr()` fallback). To make sure that
the two errors come from different locations (the original intention of
examining source locations) the second error has been moved into a
different function called `foo`. Unfortunately in some testing scenarios
`foo` isn't always demangled correctly so we have to make the FileCheck
pattern quite liberal.

rdar://problem/57198494
CodaFi/swift,hooman/swift,xwu/swift,JGiola/swift,CodaFi/swift,hooman/swift,parkera/swift,harlanhaskins/swift,nathawes/swift,aschwaighofer/swift,airspeedswift/swift,ahoppen/swift,airspeedswift/swift,apple/swift,nathawes/swift,rudkx/swift,lorentey/swift,roambotics/swift,CodaFi/swift,JGiola/swift,roambotics/swift,tkremenek/swift,gregomni/swift,roambotics/swift,jckarter/swift,jckarter/swift,hooman/swift,ahoppen/swift,apple/swift,apple/swift,atrick/swift,gregomni/swift,benlangmuir/swift,JGiola/swift,tkremenek/swift,stephentyrone/swift,airspeedswift/swift,allevato/swift,atrick/swift,airspeedswift/swift,gregomni/swift,harlanhaskins/swift,harlanhaskins/swift,gribozavr/swift,gribozavr/swift,JGiola/swift,allevato/swift,jckarter/swift,nathawes/swift,parkera/swift,airspeedswift/swift,gribozavr/swift,xwu/swift,atrick/swift,roambotics/swift,rudkx/swift,atrick/swift,xwu/swift,aschwaighofer/swift,hooman/swift,xwu/swift,airspeedswift/swift,aschwaighofer/swift,jmgc/swift,karwa/swift,rudkx/swift,karwa/swift,hooman/swift,atrick/swift,CodaFi/swift,jckarter/swift,tkremenek/swift,lorentey/swift,lorentey/swift,glessard/swift,parkera/swift,apple/swift,nathawes/swift,rudkx/swift,harlanhaskins/swift,jmgc/swift,jmgc/swift,benlangmuir/swift,nathawes/swift,glessard/swift,benlangmuir/swift,parkera/swift,gregomni/swift,harlanhaskins/swift,karwa/swift,parkera/swift,karwa/swift,glessard/swift,lorentey/swift,gribozavr/swift,jmgc/swift,stephentyrone/swift,parkera/swift,jmgc/swift,xwu/swift,benlangmuir/swift,tkremenek/swift,jmgc/swift,lorentey/swift,airspeedswift/swift,jckarter/swift,lorentey/swift,aschwaighofer/swift,tkremenek/swift,xwu/swift,allevato/swift,tkremenek/swift,roambotics/swift,karwa/swift,aschwaighofer/swift,ahoppen/swift,JGiola/swift,stephentyrone/swift,ahoppen/swift,atrick/swift,xwu/swift,ahoppen/swift,harlanhaskins/swift,ahoppen/swift,stephentyrone/swift,jckarter/swift,roambotics/swift,stephentyrone/swift,gregomni/swift,rudkx/swift,parkera/swift,JGiola/swift,jmgc/swift,allevato/swift,nathawes/swift,allevato/swift,gregomni/swift,stephentyrone/swift,lorentey/swift,jckarter/swift,aschwaighofer/swift,gribozavr/swift,hooman/swift,benlangmuir/swift,karwa/swift,glessard/swift,parkera/swift,gribozavr/swift,karwa/swift,allevato/swift,hooman/swift,benlangmuir/swift,apple/swift,aschwaighofer/swift,nathawes/swift,gribozavr/swift,rudkx/swift,stephentyrone/swift,glessard/swift,lorentey/swift,tkremenek/swift,harlanhaskins/swift,glessard/swift,CodaFi/swift,gribozavr/swift,CodaFi/swift,allevato/swift,karwa/swift,CodaFi/swift,apple/swift