Add libc++ pretty printers to tools/gdb
Turns this:
separator = {
<std::__1::__basic_string_common<true>> = {<No data fields>},
members of std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >:
static __short_mask = 1,
static __long_mask = 1,
__r_ = {
<std::__1::__compressed_pair_elem<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::__rep, 0, false>> = {
__value_ = {
{
__l = {
__cap_ = 2108420,
__size_ = 0,
__data_ = 0x0
},
__s = {
{
__size_ = 4 '\004',
__lx = 4 '\004'
},
__data_ = ", ", '\000' <repeats 20 times>
},
__r = {
__words = {[0] = 2108420, [1] = 0, [2] = 0}
}
}
}
},
<std::__1::__compressed_pair_elem<std::__1::allocator<char>, 1, true>> = {
<std::__1::allocator<char>> = {<No data fields>}, <No data fields>}, <No data fields>},
static npos = 18446744073709551615
}
Into this:
separator = ", "
BUG=866697
R=thakis
CC=leszeks
Change-Id: I4b35799c6023743b5876aa89a2448b8f841c7751
Reviewed-on: https://chromium-review.googlesource.com/1152087Reviewed-by:
Nico Weber <thakis@chromium.org>
Reviewed-by:
Dirk Pranke <dpranke@chromium.org>
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Cr-Commit-Position: refs/heads/master@{#579085}
Showing
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment