Fix types.py to actually be able to run check_padding_command() without erroring out.

<rdar://problem/21071347>

llvm-svn: 238764
This commit is contained in:
Greg Clayton 2015-06-01 17:28:45 +00:00
parent 55313d21dc
commit 811051e3d6
1 changed files with 1 additions and 1 deletions

View File

@ -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):