
When testing LLDB, we want to make sure to use the same Python as the one we used to build it. This patch used the CMake variable `Python3_ROOT_DIR` to set the `PYTHONHOME` env variable in LLDB lit tests, in order to ensure of this. Please see https://github.com/swiftlang/swift/pull/82063 for the original issue.
LLDB Unit Tests
This directory only exists for the lit test driver. The actual tests live in
the unittest
directory in top level LLDB directory.