1 # RUN: echo "int main() { return 0; }" | %clang_host -x c - -o %t
2 # RUN: %lldb -s %s --script-language lua %t 2>&1 | FileCheck %s
5 function abc(a, b, c, ...)
7 if c then print(c:GetValueForKey("foo"):GetStringValue(32)) end
10 breakpoint command add -s lua -F abc
13 breakpoint command add -s lua -F abc -k foo -v 123pizza!
15 # CHECK: foo: 123pizza!
17 breakpoint command add -s lua -o "abc(frame, bp_loc, ...)"
20 breakpoint command add -s lua -F typo