[Lldb-commits] [lldb] r186023 - Adding a summary for ObjC blocks
Enrico Granata
egranata at apple.com
Wed Jul 10 11:25:45 PDT 2013
Author: enrico
Date: Wed Jul 10 13:25:45 2013
New Revision: 186023
URL: http://llvm.org/viewvc/llvm-project?rev=186023&view=rev
Log:
Adding a summary for ObjC blocks
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=186023&r1=186022&r2=186023&view=diff
==============================================================================
--- lldb/trunk/source/DataFormatters/FormatManager.cpp (original)
+++ lldb/trunk/source/DataFormatters/FormatManager.cpp Wed Jul 10 13:25:45 2013
@@ -774,6 +774,13 @@ FormatManager::LoadObjCFormatters()
#endif // LLDB_DISABLE_PYTHON
objc_flags.SetSkipPointers(false);
+ objc_flags.SetCascades(true);
+ objc_flags.SetSkipReferences(false);
+
+ AddStringSummary (objc_category_sp,
+ "${var.__FuncPtr%A}",
+ ConstString("__block_literal_generic"),
+ objc_flags);
TypeCategoryImpl::SharedPointer corefoundation_category_sp = GetCategory(m_corefoundation_category_name);
More information about the lldb-commits
mailing list