mirror of
https://github.com/intel/llvm.git
synced 2026-01-17 06:40:01 +08:00
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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user