Summary provider for char.
authorDawn Perchik <dawn@burble.org>
Fri, 23 Oct 2015 00:02:56 +0000 (00:02 +0000)
committerDawn Perchik <dawn@burble.org>
Fri, 23 Oct 2015 00:02:56 +0000 (00:02 +0000)
commit8826519e2af08b79944e187aadf11e7a92cbe039
tree3f5e38494dec6f3505d29d596bbb590268e7ec87
parent1e9aadba174f0d598b5a695ad0f5c0f1f8af1041
Summary provider for char.

This patch enables type summary for 'char' type. Given:
    char c = 'h';
Before this patch, c evaluates as:
    (char) $0 = 'h'
After this patch, we get:
    (char) $0 = 104 'h'
This change allows the formatting of character types in MI to be removed
and replaced with that in lldb, and can be useful when evaluating
non-printable characters.

Patch from evgeny.leviant@gmail.com
Reviewed by: granata.enrico
Subscribers: lldb-commits
Differential Revision: http://reviews.llvm.org/D13657

llvm-svn: 251080
lldb/include/lldb/API/SBTypeSummary.h
lldb/source/API/SBTypeSummary.cpp