summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2015-06-01 17:28:45 +0000
committerGreg Clayton <gclayton@apple.com>2015-06-01 17:28:45 +0000
commit811051e3d6e4475c8f2e2a6500e75d14ca8dd7cc (patch)
tree8aa2710b7c77b4a1e6390a206d6aad5c73a02dd9
parent55313d21dc0a37d575fdb5440927675cc33810d2 (diff)
downloadbcm5719-llvm-811051e3d6e4475c8f2e2a6500e75d14ca8dd7cc.tar.gz
bcm5719-llvm-811051e3d6e4475c8f2e2a6500e75d14ca8dd7cc.zip
Fix types.py to actually be able to run check_padding_command() without erroring out.
<rdar://problem/21071347> llvm-svn: 238764
-rwxr-xr-xlldb/examples/python/types.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/examples/python/types.py b/lldb/examples/python/types.py
index adf46e7af57..60ea7514c13 100755
--- a/lldb/examples/python/types.py
+++ b/lldb/examples/python/types.py
@@ -177,7 +177,7 @@ def check_padding_command (debugger, command, result, dict):
# (courtesy of OptParse dealing with argument errors by throwing SystemExit)
result.SetStatus (lldb.eReturnStatusFailed)
return "option parsing failed" # returning a string is the same as returning an error whose description is the string
- verify_types(options, debugger.GetSelectedTarget(), command_args)
+ verify_types(debugger.GetSelectedTarget(), options)
@lldb.command("parse_all_struct_class_types")
def parse_all_struct_class_types (debugger, command, result, dict):
OpenPOWER on IntegriCloud