This is an archive of the discontinued LLVM Phabricator instance.

[CMake] Support builtins as Clang default rtlib in compiler-rt
ClosedPublic

Authored by phosek on May 19 2018, 5:58 PM.

Details

Summary

Use compiler-rt builtins when selected as default Clang rtlib and avoid
explicitly passing -rtlib= flag to avoid the "argument unused during
compilation" warning.

This is a partial alternative to D47094 that does not rely on compiler
runtime checks.

Diff Detail

Repository
rL LLVM