summaryrefslogtreecommitdiffstats
path: root/lldb/source/DataFormatters/FormatManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/DataFormatters/FormatManager.cpp')
-rw-r--r--lldb/source/DataFormatters/FormatManager.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/lldb/source/DataFormatters/FormatManager.cpp b/lldb/source/DataFormatters/FormatManager.cpp
index bdd26219c38..c94ad345f8b 100644
--- a/lldb/source/DataFormatters/FormatManager.cpp
+++ b/lldb/source/DataFormatters/FormatManager.cpp
@@ -1216,6 +1216,15 @@ FormatManager::LoadSystemFormatters()
AddFormat(sys_category_sp, lldb::eFormatOSType, ConstString("FourCharCode"), fourchar_flags);
+ SyntheticChildren::Flags synth_flags;
+ synth_flags.SetCascades(true).SetSkipPointers(true).SetSkipReferences(true);
+
+ AddCXXSynthetic(sys_category_sp,
+ lldb_private::formatters::VectorTypeSyntheticFrontEndCreator,
+ "vector_type synthetic children",
+ ConstString("unsigned char __attribute__\\(\\(ext_vector_type\\([0-9]+\\)\\)\\)"),
+ synth_flags,
+ true);
#endif
}
OpenPOWER on IntegriCloud