[Lldb-commits] [lldb] [lldb] Add accelerator plugin connection support (PR #201449)

satyanarayana reddy janga via lldb-commits lldb-commits at lists.llvm.org
Fri Jun 26 19:49:56 PDT 2026


satyajanga wrote:

> > Add a test with an invalid platform name. Verify we fail to connect Add a test with a valid platform with triple that is not compatible with platform. So maybe add some global variables to the test program with all of the mock function, and have the platform and target be specified with program arguments when you launch. Then you can test by launching the program with different args to verify test results.
> > mock-test-app --platform --arch mock-test-app --platform --arch # error when trying to attach to connection mock-test-app --platform --arch # error when trying to attach to connection
> 
> We can't do this with the program, we need to pass env vars to the lldb-server.

Added the tests using the env variable.

https://github.com/llvm/llvm-project/pull/201449


More information about the lldb-commits mailing list