1UNSUPPORTED: lldb-repro 2 3RUN: echo "int main() { return 0; }" | %clang_host -x c - -o %t.foo 4 5RUN: %lldb -x -b %t.foo bar baz quux | FileCheck %s 6RUN: %lldb -x -b -- %t.foo bar baz quux | FileCheck %s 7RUN: %lldb -x -b %t.foo -- bar baz quux | FileCheck %s 8RUN: %lldb -x -b %t.foo bar -- baz quux | FileCheck %s 9RUN: %lldb -x -b %t.foo bar baz -- quux | FileCheck %s 10RUN: %lldb %t.foo -x bar -b baz -- quux | FileCheck %s 11RUN: %lldb -x -b -f %t.foo bar baz quux | FileCheck %s 12RUN: %lldb -x -b -f %t.foo -- bar baz quux | FileCheck %s 13RUN: %lldb -x -b -f %t.foo bar -- baz quux | FileCheck %s 14RUN: %lldb -x -b -f %t.foo bar baz -- quux | FileCheck %s 15 16CHECK: Current executable set to {{.*}}foo 17CHECK: target.run-args "bar" "baz" "quux" 18 19RUN: %lldb -x -b %t.foo -- bar -baz --quux | FileCheck %s --check-prefix DASH 20RUN: %lldb -x -b -- %t.foo bar -baz --quux | FileCheck %s --check-prefix DASH 21RUN: %lldb -x -b -f %t.foo -- bar -baz --quux | FileCheck %s --check-prefix DASH 22 23DASH: Current executable set to {{.*}}foo 24DASH: target.run-args "bar" "-baz" "--quux" 25 26RUN: not %lldb -x -b %t.foo bar -baz --quux 2>&1 | FileCheck %s --check-prefix UNKNOWN 27RUN: not %lldb -x -b -f %t.foo bar -baz --quux 2>&1 | FileCheck %s --check-prefix UNKNOWN 28 29UNKNOWN: error: unknown option: -baz 30UNKNOWN: error: unknown option: --quux 31UNKNOWN: Use 'lldb{{.*}} --help' for a complete list of options. 32