about summary refs log tree commit diff
path: root/src/test/run-pass/thinlto
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2017-10-10 20:22:24 -0400
committerGitHub <noreply@github.com>2017-10-10 20:22:24 -0400
commitfab96c4b1201977f8875388611be5481079f5cf2 (patch)
treeb57a50f0647269132155206253135d72fc02bb79 /src/test/run-pass/thinlto
parentd6d711dd8f7ad5885294b8e1f0009a23dc1f8b1f (diff)
parentc3c1df582094b10f803d875f43f6e8b7e3107c5d (diff)
downloadrust-fab96c4b1201977f8875388611be5481079f5cf2.tar.gz
rust-fab96c4b1201977f8875388611be5481079f5cf2.zip
Rollup merge of #45071 - tromey:use-gdb-lazy-string, r=michaelwoerister
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/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions