diff options
| author | Enrico Granata <egranata@apple.com> | 2013-06-11 00:18:18 +0000 |
|---|---|---|
| committer | Enrico Granata <egranata@apple.com> | 2013-06-11 00:18:18 +0000 |
| commit | 97fe23e00a88957494bf2c993c998907b894206a (patch) | |
| tree | 7471248c6db7b1200748a4243718fba33d51ced2 /lldb/source/DataFormatters/FormatManager.cpp | |
| parent | 864dd750935f5cb3f69a8049180b2d618ad2737c (diff) | |
| download | bcm5719-llvm-97fe23e00a88957494bf2c993c998907b894206a.tar.gz bcm5719-llvm-97fe23e00a88957494bf2c993c998907b894206a.zip | |
<rdar://problem/12783351>
Add support for half-floats, as specified by IEEE-754-2008
With this checkin, you can now say:
(lldb) x/7hf foo
to read 7 half-floats at address foo
llvm-svn: 183716
Diffstat (limited to 'lldb/source/DataFormatters/FormatManager.cpp')
| -rw-r--r-- | lldb/source/DataFormatters/FormatManager.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/DataFormatters/FormatManager.cpp b/lldb/source/DataFormatters/FormatManager.cpp index 28c3f82e2df..1a3b2ae5f86 100644 --- a/lldb/source/DataFormatters/FormatManager.cpp +++ b/lldb/source/DataFormatters/FormatManager.cpp @@ -72,6 +72,7 @@ g_format_infos[] = { eFormatCharArray , 'a' , "character array" }, { eFormatAddressInfo , 'A' , "address" }, { eFormatHexFloat , '\0' , "hex float" }, + { eFormatHalfFloat , '\0' , "half float" }, { eFormatInstruction , 'i' , "instruction" }, { eFormatVoid , 'v' , "void" } }; |

