HomePhabricator

[test] Fix asan/TestCases/Linux/globals-gc-sections-lld.cpp with -fsanitize…

Authored by MaskRay on Dec 6 2020, 11:11 AM.

Description

[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.