[all-commits] [llvm/llvm-project] baa820: Add some support for pretty printing Twines contai...

David Blaikie via All-commits all-commits at lists.llvm.org
Fri Nov 5 12:57:02 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: baa820c510d027911b464ee018e15217d09568da
      https://github.com/llvm/llvm-project/commit/baa820c510d027911b464ee018e15217d09568da
  Author: David Blaikie <dblaikie at gmail.com>
  Date:   2021-11-05 (Fri, 05 Nov 2021)

  Changed paths:
    M cross-project-tests/debuginfo-tests/llvm-prettyprinters/gdb/llvm-support.cpp
    M cross-project-tests/debuginfo-tests/llvm-prettyprinters/gdb/llvm-support.gdb
    M llvm/utils/gdb-scripts/prettyprinters.py

  Log Message:
  -----------
  Add some support for pretty printing Twines containing std::string in gdb

This isn't perfect, since it doesn't use lazy_string - so if the
std::string does contain unprintable characters it might fail, but seems
better than nothing & LLVM doesn't generally store binary data in
std::strings.




More information about the All-commits mailing list