Add LLDB dataformatters for llvm::StringRef and lldb_private::ConstString
authorAdrian Prantl <aprantl@apple.com>
Fri, 16 Aug 2019 23:47:57 +0000 (23:47 +0000)
committerAdrian Prantl <aprantl@apple.com>
Fri, 16 Aug 2019 23:47:57 +0000 (23:47 +0000)
commit43c8b19546ae646630898a7b0fe0a517633410de
tree4548293d65e29b0554bdaf4441c9ef57940bf134
parenta53ad0e157d19487e2baab9e7bd02bdf1e353782
Add LLDB dataformatters for llvm::StringRef and lldb_private::ConstString

These data formatters make the string value appear in Xcode's
variables view (and on the command line) without having to expand the
data structure.

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

llvm-svn: 369175
llvm/utils/lldbDataFormatters.py