[libunwind] Use the from-scratch testing configuration by default
authorLouis Dionne <ldionne.2@gmail.com>
Tue, 12 Oct 2021 18:10:02 +0000 (14:10 -0400)
committerLouis Dionne <ldionne.2@gmail.com>
Wed, 20 Oct 2021 12:45:58 +0000 (08:45 -0400)
commit5a8ad80b6fa5cbad58b78384f534b78fca863e7f
tree7d5110e568c4f70393a02e64b37cd8b942a7c24a
parenta3c05982ac05637a8f40207db83c04a1710033d5
[libunwind] Use the from-scratch testing configuration by default

This commit switches libunwind from using the complicated logic in
libc++'s testing configuration to a from-scratch configuration.
I tried to make sure that all cases that were handled in the old
config were handled by this one too, so hopefully this shouldn't
break anyone. However, if you encounter issues with this change,
please let me know and feel free to revert if I don't reply quickly.

This change was engineered to be easily revertable.

Differential Revision: https://reviews.llvm.org/D112082
libunwind/CMakeLists.txt