This is an archive of the discontinued LLVM Phabricator instance.

Fix lld detection in standalone compiler-rt.
ClosedPublic

Authored by eugenis on Oct 24 2019, 1:57 PM.

Details

Summary

Right now all hwasan tests on Android are silently disabled because they
require "has_lld" and standalone compiler-rt can not (and AFAIK was
never able to) set it.

Diff Detail

Event Timeline

eugenis created this revision.Oct 24 2019, 1:57 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptOct 24 2019, 1:57 PM
Herald added subscribers: Restricted Project, mgorny, dberris. · View Herald Transcript

Second attempt to re-enable hwasan testing. This time, do not add lld as a dependency of the test suites if it not a CMake target (i.e. if it is simply available through -fuse-ld=lld somehow).

Harbormaster completed remote builds in B40025: Diff 226323.
pcc accepted this revision.Oct 24 2019, 2:18 PM

LGTM

This revision is now accepted and ready to land.Oct 24 2019, 2:18 PM
This revision was automatically updated to reflect the committed changes.