summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/FormatManager.cpp
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2012-08-08 17:35:10 +0000
committerSean Callanan <scallanan@apple.com>2012-08-08 17:35:10 +0000
commitbf154daee6b55aa290c4c8a156cc803e71d7119d (patch)
tree31c2c36fc4a60357fdebc9ddb818834e9e0eb118 /lldb/source/Core/FormatManager.cpp
parent1c7c8f763769d7d98b8ef7538693f7d99be3cedd (diff)
downloadbcm5719-llvm-bf154daee6b55aa290c4c8a156cc803e71d7119d.tar.gz
bcm5719-llvm-bf154daee6b55aa290c4c8a156cc803e71d7119d.zip
Added a 'void' format so that the user can manually
suppress all non-error output from the "expression" command. <rdar://problem/11225150> llvm-svn: 161502
Diffstat (limited to 'lldb/source/Core/FormatManager.cpp')
-rw-r--r--lldb/source/Core/FormatManager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/Core/FormatManager.cpp b/lldb/source/Core/FormatManager.cpp
index c49301818c0..f9509cb01e7 100644
--- a/lldb/source/Core/FormatManager.cpp
+++ b/lldb/source/Core/FormatManager.cpp
@@ -65,7 +65,8 @@ g_format_infos[] =
{ eFormatCharArray , 'a' , "character array" },
{ eFormatAddressInfo , 'A' , "address" },
{ eFormatHexFloat , 'X' , "hex float" },
- { eFormatInstruction , 'i' , "instruction" }
+ { eFormatInstruction , 'i' , "instruction" },
+ { eFormatVoid , 'v' , "void" }
};
static uint32_t
OpenPOWER on IntegriCloud