[test] Fix asan/TestCases/Linux/globals-gc-sections-lld.cpp with -fsanitize-address...
authorFangrui Song <i@maskray.me>
Sun, 6 Dec 2020 19:11:15 +0000 (11:11 -0800)
committerFangrui Song <i@maskray.me>
Sun, 6 Dec 2020 19:11:15 +0000 (11:11 -0800)
commit140808768d3e5c0f4e52dd42094650f5d282e34a
tree25ebb8ca949de47606259f2eea13ea8d7c0663b6
parentdde44f488c454b71d77ac022642b8711a8c340ca
[test] Fix asan/TestCases/Linux/globals-gc-sections-lld.cpp with -fsanitize-address-globals-dead-stripping

r302591 dropped -fsanitize-address-globals-dead-stripping for ELF platforms
(to work around a gold<2.27 bug: https://sourceware.org/bugzilla/show_bug.cgi?id=19002)

Upgrade REQUIRES: from lto (COMPILER_RT_TEST_USE_LLD (set by Android, but rarely used elsewhere)) to lto-available.
compiler-rt/test/asan/TestCases/Linux/globals-gc-sections-lld.cpp