projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eff1884
)
Set the correct byte size for complex integer (-fI) memory reads.
author
Jason Molenda
<jmolenda@apple.com>
Sat, 23 Mar 2013 05:16:54 +0000
(
05:16
+0000)
committer
Jason Molenda
<jmolenda@apple.com>
Sat, 23 Mar 2013 05:16:54 +0000
(
05:16
+0000)
<rdar://problem/
12281172
>
llvm-svn: 177814
lldb/source/Commands/CommandObjectMemory.cpp
patch
|
blob
|
history
diff --git
a/lldb/source/Commands/CommandObjectMemory.cpp
b/lldb/source/Commands/CommandObjectMemory.cpp
index
ea8feed
..
43944ce
100644
(file)
--- a/
lldb/source/Commands/CommandObjectMemory.cpp
+++ b/
lldb/source/Commands/CommandObjectMemory.cpp
@@
-221,6
+221,14
@@
public:
if (!count_option_set)
format_options.GetCountValue() = 8;
break;
+ case eFormatComplexInteger:
+ if (!byte_size_option_set)
+ byte_size_value = 8;
+ if (!num_per_line_option_set)
+ m_num_per_line = 1;
+ if (!count_option_set)
+ format_options.GetCountValue() = 8;
+ break;
case eFormatHex:
if (!byte_size_option_set)
byte_size_value = 4;