[libunwind] Take 2: 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>
Tue, 26 Oct 2021 13:34:40 +0000 (09:34 -0400)
commit56b74613bf9168bb79e0088b424ec0b6dd0a66c9
tree0deb92f07febc3246e685da59a30e07081d219ce
parent631f44f3381fbdf369311f04f6150180434e9a84
[libunwind] Take 2: Use the from-scratch testing configuration by default

Summary:
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.

This commit is a re-application of 5a8ad80b6fa5, which was reverted in
070a2ddcb665 because it broke the Bootstrapping build. This has now been
addressed by tweaking the from-scratch config.

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