This is an archive of the discontinued LLVM Phabricator instance.

[runtimes] When COMPILER_RT is enabled, consider SANITIZER prefixes
ClosedPublic

Authored by phosek on Mar 6 2020, 2:41 PM.

Details

Summary

Currently we passthrough CMake variables based on project prefix,
i.e. LIBCXX_, LIBCXXABI_, LIBUNWIND_ and COMPILER_RT_. However, many
compiler-rt flags start with SANITIZER_ rather than COMPILER_RT, so
passthrough those as well.

Diff Detail

Event Timeline

phosek created this revision.Mar 6 2020, 2:41 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 6 2020, 2:41 PM
smeenai accepted this revision.Mar 6 2020, 4:02 PM

Good idea; this'll let us clean up some of our internal build setup as well. LGTM.

This revision is now accepted and ready to land.Mar 6 2020, 4:02 PM
This revision was automatically updated to reflect the committed changes.