r366433 broke support for the system debugserver. Although the change was well-intended, it (presumably) unintentionally removed the logic to copy over the debugserver. As a result, even with LLDB_USE_SYSTEM_DEBUGSERVER enabled, we ended up building, signing and using the just-built debugserver. This patch partially recovers the old behavior: when LLDB_USE_SYSTEM_DEBUGSERVER is set we don't build debugserver and just copy over the system one.
friss xiaobai aprantl jfb
- rGcb4cda2d45e1: [CMake] Copy over the system debugserver when using LLDB_USE_SYSTEM_DEBUGSERVER
rLLDB372786: [CMake] Copy over the system debugserver when using LLDB_USE_SYSTEM_DEBUGSERVER
rL372786: [CMake] Copy over the system debugserver when using LLDB_USE_SYSTEM_DEBUGSERVER
|18 ↗||(On Diff #221615)|
It may be more forward-looking to check for an actual version here like we do for the compiler.