[Lldb-commits] [lldb] r183254 - <rdar://problem/14003462>

Enrico Granata egranata at apple.com
Tue Jun 4 14:53:55 PDT 2013


Author: enrico
Date: Tue Jun  4 16:53:55 2013
New Revision: 183254

URL: http://llvm.org/viewvc/llvm-project?rev=183254&view=rev
Log:
<rdar://problem/14003462>

Formatters for unsigned char* and const variant

Modified:
    lldb/trunk/source/DataFormatters/FormatManager.cpp

Modified: lldb/trunk/source/DataFormatters/FormatManager.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/DataFormatters/FormatManager.cpp?rev=183254&r1=183253&r2=183254&view=diff
==============================================================================
--- lldb/trunk/source/DataFormatters/FormatManager.cpp (original)
+++ lldb/trunk/source/DataFormatters/FormatManager.cpp Tue Jun  4 16:53:55 2013
@@ -685,6 +685,8 @@ FormatManager::LoadSystemFormatters()
     
     sys_category_sp->GetSummaryNavigator()->Add(ConstString("char *"), string_format);
     sys_category_sp->GetSummaryNavigator()->Add(ConstString("const char *"), string_format);
+    sys_category_sp->GetSummaryNavigator()->Add(ConstString("unsigned char *"), string_format);
+    sys_category_sp->GetSummaryNavigator()->Add(ConstString("const unsigned char *"), string_format);
     sys_category_sp->GetRegexSummaryNavigator()->Add(any_size_char_arr, string_array_format);
     
     lldb::TypeSummaryImplSP ostype_summary(new StringSummaryFormat(TypeSummaryImpl::Flags().SetCascades(false)





More information about the lldb-commits mailing list