This is done via new LIBUNWIND_TEST_COMPILER_FLAGS and LIBUNWIND_TEST_LINKER_FLAGS variables.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
This works as expected with your corresponding libcxx patch. However @arichardson 's D42139 does similar things for libcxx. We should wait for that to land, and ensure that this patch is rebased against that.
CMakeLists.txt | ||
---|---|---|
142 ↗ | (On Diff #135285) | PATH should be STRING. |
test/lit.site.cfg.in | ||
25 ↗ | (On Diff #135285) | This should be test_compiler_cflags. |
Comment Actions
My only question is if this should be named LIBUNWIND_TEST_COMPILER_FLAGS to match the name used in libc++?
Comment Actions
I would say yes for the sake of consistency with the option it's controls and libcxx. Additionally, we also require config.test_linker_flags to be set as well, so we need LIBUNWIND_LINKER_FLAGS.
LGTM with those two additional changes. I've tested it with your N32 patch and it works.