This is better than libunwind and libcxxabi fishing it out of libcxx's
module directory.
It is done in prepartion for a better version of D117537 which deduplicates
CMake logic instead of just renaming to avoid a name clash.
| Paths 
 |  Differential  D117617  
[cmake] Move HandleOutOfTreeLLVM to common cmake utils ClosedPublic Authored by Ericson2314 on Jan 18 2022, 3:03 PM. 
Details 
 Summary This is better than libunwind and libcxxabi fishing it out of libcxx's It is done in prepartion for a better version of D117537 which deduplicates 
Diff Detail 
 Event TimelineHerald added projects: Restricted Project, Restricted Project.  ·  View Herald TranscriptJan 18 2022, 3:03 PM Ericson2314 retitled this revision from Move HandleOutOfTreeLLVM to common cmake utils to [cmake] Move HandleOutOfTreeLLVM to common cmake utils.Jan 18 2022, 3:39 PM Comment Actions LGTM we should see if we can also use HandleOutOfTreeLLVM.cmake in compiler-rt in a follow-up change. Comment Actions Hmm not sure why it's not going to the accepted state. I guess I did something odd when I marked it needs more review before. 
 That is indeed what I ended up doing! :) Closed by commit rG429a717ea5ec: [cmake] Move HandleOutOfTreeLLVM to common cmake utils (authored by Ericson2314).  ·  Explain Why This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 401398 cmake/Modules/HandleOutOfTreeLLVM.cmake
 
 libcxx/cmake/Modules/HandleOutOfTreeLLVM.cmake
 libcxxabi/CMakeLists.txt
 libunwind/CMakeLists.txt
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||