This is an archive of the discontinued LLVM Phabricator instance.

[compiler-rt] Use COMPILER_RT_TEST_CXX_COMPILER for linking compiler-rt tests
ClosedPublic

Authored by leonardchan on Sep 2 2021, 5:00 PM.

Details

Summary

Before, COMPILER_RT_TEST_COMPILER was used which pointed to a C compiler. While it is incorrect to assume either of these is the default compiler, using the C++ one allows for linking cpp tests.

Diff Detail