about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2017-10-03 13:28:57 -0600
committerTom Tromey <tom@tromey.com>2017-10-06 13:05:53 -0600
commitc3c1df582094b10f803d875f43f6e8b7e3107c5d (patch)
tree219fce4696f60728a31f343dc39dff7b4bf96b90 /src/test/incremental/thinlto
parenta8feaee5b6b54c03f49481fe04a9ad9e8f659f7c (diff)
downloadrust-c3c1df582094b10f803d875f43f6e8b7e3107c5d.tar.gz
rust-c3c1df582094b10f803d875f43f6e8b7e3107c5d.zip
Implement display_hint in gdb pretty printers
A few pretty-printers were returning a quoted string from their
to_string method.  It's preferable in gdb to return a lazy string and to
let gdb handle the display by having a "display_hint" method that
returns "string" -- it lets gdb settings (like "set print ...") work, it
handles corrupted strings a bit better, and it passes the information
along to IDEs.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions