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/Core | |
| 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/Core')
| -rw-r--r-- | lldb/source/Core/DataExtractor.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lldb/source/Core/DataExtractor.cpp b/lldb/source/Core/DataExtractor.cpp index 7dc573c55eb..9e447983301 100644 --- a/lldb/source/Core/DataExtractor.cpp +++ b/lldb/source/Core/DataExtractor.cpp @@ -2012,6 +2012,12 @@ DataExtractor::Dump (Stream *s, s->PutChar('}'); break; + case eFormatVectorOfFloat16: + s->PutChar('{'); + offset = Dump (s, offset, eFormatFloat, 2, item_byte_size / 2, item_byte_size / 2, LLDB_INVALID_ADDRESS, 0, 0); + s->PutChar('}'); + break; + case eFormatVectorOfFloat32: s->PutChar('{'); offset = Dump (s, offset, eFormatFloat, 4, item_byte_size / 4, item_byte_size / 4, LLDB_INVALID_ADDRESS, 0, 0); |

