These flags can be specified using the CMake variables
LIBCXX_TEST_LINKER_FLAGS and LIBCXX_TEST_COMPILER_FLAGS.
When building the tests for CHERI I need to pass additional
flags (such as -mabi=n64 or -mabi=purecap) to the compiler
for our test configurations
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
I'm fine with this, but I don't really think it's a good solution (but none of our LIT config is ideal). In particular for the link flags might not work well, because the order of linker flags matters a lot and this doesn't really deal with that. But if it works for your case.