A new test FAILs on Solaris:
FAIL: AddressSanitizer-i386-sunos :: TestCases/global-location-nodebug.cpp (465 of 64279) FAIL: AddressSanitizer-i386-sunos-dynamic :: TestCases/global-location-nodebug.cpp (961 of 64279)
The problem is the unconditional use of -Wl,-S:
ld: fatal: dlopen() of support library (-lstdc++) failed with error: ld.so.1: ld: -lstdc++: open failed: No such file or directory
ld -S has a completely different semantics compared to GNU ld -S/--strip-debug: specify a link-edit support library. To avoid this, I've chosen to XFAIL the test.
Tested on amd64-pc-solaris2.11.
While Solaris ld doesn't support --strip-debug, it has -z strip-class=debug instead, which makes the test PASS. It would be possible to use a substitution (%ld_flags_strip_debug) instead, set in compiler-rt/test/asan/lit.cfg.py. However, this seems like overkill to me.