This is an archive of the discontinued LLVM Phabricator instance.

[lit][libcxx] Add a --run-with-debugger/--gdb flag
Changes PlannedPublic

Authored by arichardson on Oct 6 2020, 8:04 AM.

Details

Reviewers
ldionne
griwes
Group Reviewers
Restricted Project
Summary

This flag can be used to run libc++/libunwind/libc++abi tests under GDB to
make it easier to debug test failures. We use this approach in our CHERI
Jenkins setup to ensure that crashing test cases include a backtrace in
the Jenkins JUnit test result viewer.
This uses the --wrapper-command executor flag added in D88899.

Diff Detail