summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands/CommandObjectMemory.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/Commands/CommandObjectMemory.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/Commands/CommandObjectMemory.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectMemory.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Commands/CommandObjectMemory.cpp b/lldb/source/Commands/CommandObjectMemory.cpp
index 1760c1dc6c8..71522308389 100644
--- a/lldb/source/Commands/CommandObjectMemory.cpp
+++ b/lldb/source/Commands/CommandObjectMemory.cpp
@@ -1108,6 +1108,7 @@ protected:
case eFormatAddressInfo:
case eFormatHexFloat:
case eFormatInstruction:
+ case eFormatVoid:
result.AppendError("unsupported format for writing memory");
result.SetStatus(eReturnStatusFailed);
return false;
OpenPOWER on IntegriCloud