aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Interpreter/CommandObject.cpp
diff options
context:
space:
mode:
authorEnrico Granata <egranata@apple.com>2014-12-05 20:59:08 +0000
committerEnrico Granata <egranata@apple.com>2014-12-05 20:59:08 +0000
commit2f02fe0bd3db6a9e3c73cc6c0cc4ad3bc500dbfc (patch)
tree383c0fc543e2d408c72f668eece4e5edbec70862 /lldb/source/Interpreter/CommandObject.cpp
parentf547861ba079f46462750be59e866587e1d7feb3 (diff)
downloadllvm-2f02fe0bd3db6a9e3c73cc6c0cc4ad3bc500dbfc.zip
llvm-2f02fe0bd3db6a9e3c73cc6c0cc4ad3bc500dbfc.tar.gz
llvm-2f02fe0bd3db6a9e3c73cc6c0cc4ad3bc500dbfc.tar.bz2
Add commands
type format info type summary info type synthetic info These commands all take an expression, evaluate it, and show which of the respective formatter (if any) applies to the result of the expression Fixes rdar://12059317 llvm-svn: 223511
Diffstat (limited to 'lldb/source/Interpreter/CommandObject.cpp')
-rw-r--r--lldb/source/Interpreter/CommandObject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Interpreter/CommandObject.cpp b/lldb/source/Interpreter/CommandObject.cpp
index 1ee45a6..7375b43 100644
--- a/lldb/source/Interpreter/CommandObject.cpp
+++ b/lldb/source/Interpreter/CommandObject.cpp
@@ -49,7 +49,7 @@ CommandObject::CommandObject
uint32_t flags
) :
m_interpreter (interpreter),
- m_cmd_name (name),
+ m_cmd_name (name ? name : ""),
m_cmd_help_short (),
m_cmd_help_long (),
m_cmd_syntax (),