cmake -Hlld -B/path/to/build currently fails with
CMake Error at CMakeLists.txt:89 (include): include could not find requested file: GetErrcMessages ... CMake Error at cmake/modules/AddLLD.cmake:17 (get_target_export_arg): Unknown CMake command "get_target_export_arg". Call Stack (most recent call first): Common/CMakeLists.txt:29 (add_lld_library)
In the past there has been other issues like
https://github.com/llvm/llvm-project/issues/48572.
Keeping the Standalone build working is now quite a bit of hassle and to
the best of my knowledge not any active contributor typically does. Let's
follow libc++/libc++abi/libunwind (D119341), deprecate and remove the build
mode.