This patch adds test infrastructure to utilize the GNUstep runtime in the LLDB test suite and adds coverage for features that already work on Linux. These seem accidental in parts, but it's a good early baseline. On Windows nothing works yet. Please find the repository for the GNUstep ObjC runtime here: https://github.com/gnustep/libobjc2
GNUstep support is disabled by default. CMake configuration involves two variables:
- LLDB_TEST_OBJC_GNUSTEP=On enables GNUstep support in the test suite. It requires the libobjc2 shared library and headers to be found.
- LLDB_TEST_OBJC_GNUSTEP=Off disables GNUstep support in the test suite and resets associated cache values if necessary (default).
- LLDB_TEST_OBJC_GNUSTEP_DIR allows to pass a custom installation root.
See here, Off by default