Add gdb pretty printers for a wide variety of libc++ data structures (take 2).
authorSterling Augustine <saugustine@google.com>
Thu, 5 Sep 2019 21:35:05 +0000 (21:35 +0000)
committerSterling Augustine <saugustine@google.com>
Thu, 5 Sep 2019 21:35:05 +0000 (21:35 +0000)
commit3270941f1e7aa9e96f7806ff0306289f482147ce
tree3e5dc825345a7a045644f81175115bcdb4cf7fa0
parenta12779561729eeef1075b9ef18cc5e74ca5e98ab
Add gdb pretty printers for a wide variety of libc++ data structures (take 2).

Summary:
This patch is an exact duplicate of https://reviews.llvm.org/D65609, except
that it uses the newly introduced testing framework to detect if gdb is present
so that the tests won't fail on machines without gdb.

Reviewers: echristo, EricWF

Subscribers: christof, ldionne, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D67238

llvm-svn: 371131
libcxx/test/pretty_printers/gdb_pretty_printer_test.py [new file with mode: 0644]
libcxx/test/pretty_printers/gdb_pretty_printer_test.sh.cpp [new file with mode: 0644]
libcxx/utils/gdb/libcxx/printers.py [new file with mode: 0644]