This is an archive of the discontinued LLVM Phabricator instance.

[compiler-rt] [test] Build sanitizer/xray tests only if COMPILER_RT_BUILD_* is on
ClosedPublic

Authored by mgorny on Apr 25 2017, 8:00 AM.

Details

Summary

Cover the sanitizer tests with COMPILER_RT_BUILD_SANITIZERS
conditional, and add COMPILER_RT_BUILD_XRAY conditional to the xray
tests. This makes it possible to do a pure-builtins build with tests
enabled.

Diff Detail

Event Timeline

mgorny created this revision.Apr 25 2017, 8:00 AM
dberris accepted this revision.Apr 25 2017, 5:13 PM
This revision is now accepted and ready to land.Apr 25 2017, 5:13 PM
This revision was automatically updated to reflect the committed changes.