Do not set LLDB_DEBUGSERVER_PATH if --out-of-tree-debugserver is passed.
authorDavide Italiano <ditaliano@apple.com>
Tue, 7 Jul 2020 22:00:08 +0000 (15:00 -0700)
committerDavide Italiano <ditaliano@apple.com>
Tue, 7 Jul 2020 22:01:21 +0000 (15:01 -0700)
commit5832473dcf4e5b22c9eb6381fb291be92f431208
tree942c067969a411afafd7f32fada700afcf0b001a
parent8c5825befb7bbb2e76f7eccedc6d3bf26e9b2a6a
Do not set LLDB_DEBUGSERVER_PATH if --out-of-tree-debugserver is passed.

This gets rid of some surprising interplay between the flags.
Mainly needed because of Rosetta debugserver & Apple Silicon.

Differential Revision:  https://reviews.llvm.org/D82804
lldb/packages/Python/lldbsuite/test/dotest.py