diff options
author | Ewan Crawford <ewan@codeplay.com> | 2015-10-16 08:28:47 +0000 |
---|---|---|
committer | Ewan Crawford <ewan@codeplay.com> | 2015-10-16 08:28:47 +0000 |
commit | a0f08674eb9af71985bd59370a2e873f9fda3494 (patch) | |
tree | 477b7ea0c431e4fcdf244d199912e48d5f419784 /lldb/source/DataFormatters/FormatManager.cpp | |
parent | e33f51fa915bdf8d057c72190339c8cd5def7a16 (diff) | |
download | bcm5719-llvm-a0f08674eb9af71985bd59370a2e873f9fda3494.tar.gz bcm5719-llvm-a0f08674eb9af71985bd59370a2e873f9fda3494.zip |
Resubmit: RenderScript command for printing allocation contents
Previous commit r250281 broke TestDataFormatterSmartArray.py
Resolved in in this patch by adding the new enum eFormatVectorOfFloat16 to FormatManager.
Differential Revision: http://reviews.llvm.org/D13730
llvm-svn: 250499
Diffstat (limited to 'lldb/source/DataFormatters/FormatManager.cpp')
-rw-r--r-- | lldb/source/DataFormatters/FormatManager.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/source/DataFormatters/FormatManager.cpp b/lldb/source/DataFormatters/FormatManager.cpp index 9eb6e10f438..e41d5eecb32 100644 --- a/lldb/source/DataFormatters/FormatManager.cpp +++ b/lldb/source/DataFormatters/FormatManager.cpp @@ -67,6 +67,7 @@ g_format_infos[] = { eFormatVectorOfUInt32 , '\0' , "uint32_t[]" }, { eFormatVectorOfSInt64 , '\0' , "int64_t[]" }, { eFormatVectorOfUInt64 , '\0' , "uint64_t[]" }, + { eFormatVectorOfFloat16, '\0' , "float16[]" }, { eFormatVectorOfFloat32, '\0' , "float32[]" }, { eFormatVectorOfFloat64, '\0' , "float64[]" }, { eFormatVectorOfUInt128, '\0' , "uint128_t[]" }, @@ -534,6 +535,7 @@ FormatManager::GetSingleItemFormat(lldb::Format vector_format) case eFormatVectorOfUInt128: return eFormatHex; + case eFormatVectorOfFloat16: case eFormatVectorOfFloat32: case eFormatVectorOfFloat64: return eFormatFloat; |