[libcxx-commits] [PATCH] D88903: [lit][libcxx] Add a --run-with-debugger/--gdb flag

Alexander Richardson via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Oct 6 08:04:03 PDT 2020


arichardson created this revision.
arichardson added reviewers: libc++, ldionne.
Herald added subscribers: llvm-commits, libcxx-commits, dexonsmith, delcypher.
Herald added projects: libc++, LLVM.
Herald added 1 blocking reviewer(s): libc++.
arichardson requested review of this revision.

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 <https://reviews.llvm.org/D88899>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D88903

Files:
  libcxx/utils/libcxx/test/config.py
  libcxx/utils/libcxx/test/dsl.py
  llvm/utils/lit/lit/LitConfig.py
  llvm/utils/lit/lit/cl_arguments.py
  llvm/utils/lit/lit/main.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88903.296465.patch
Type: text/x-patch
Size: 4881 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20201006/e79e96a2/attachment.bin>


More information about the libcxx-commits mailing list