diff options
Diffstat (limited to 'lldb/source/Commands/CommandObjectMemory.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectMemory.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectMemory.cpp b/lldb/source/Commands/CommandObjectMemory.cpp index 54dfdd1ecef..9a2180c5ed4 100644 --- a/lldb/source/Commands/CommandObjectMemory.cpp +++ b/lldb/source/Commands/CommandObjectMemory.cpp @@ -1478,7 +1478,8 @@ protected: break; case eFormatBoolean: - uval64 = Args::StringToBoolean(value_str, false, &success); + uval64 = Args::StringToBoolean( + llvm::StringRef::withNullAsEmpty(value_str), false, &success); if (!success) { result.AppendErrorWithFormat( "'%s' is not a valid boolean string value.\n", value_str); |