forked from OSchip/llvm-project
Breakpoint specification can have the form '-n main', so it's not a good idea to
check that the option arg in '-x opt_arg' does not start with a '-' char. llvm-svn: 142625
This commit is contained in:
parent
608c60c773
commit
ff7fc9cfa4
|
@ -480,7 +480,7 @@ def parseOptionsAndInitTestdirs():
|
|||
elif sys.argv[index].startswith('-x'):
|
||||
# Increment by 1 to fetch the breakpoint specification of the benchmark executable.
|
||||
index += 1
|
||||
if index >= len(sys.argv) or sys.argv[index].startswith('-'):
|
||||
if index >= len(sys.argv):
|
||||
usage()
|
||||
bmBreakpointSpec = sys.argv[index]
|
||||
index += 1
|
||||
|
|
Loading…
Reference in New Issue