brintos

brintos / llvm-project-archived public Read only

0
0
Text · 572 B · 8424cec Raw
18 lines · plain
1# RUN: echo "int main() { return 0; }" | %clang_host -x c - -o %t2# RUN: %lldb -s %s --script-language lua %t 2>&1 | FileCheck %s3b main4breakpoint command add -s lua -o 'return false'5run6# CHECK: Process {{[0-9]+}} exited with status = 07breakpoint command add -s lua -o 'print(bacon)'8run9# CHECK: bacon10# CHECK: Process {{[0-9]+}} exited with status = 011breakpoint command add -s lua -o "return true"12run13# CHECK: Process {{[0-9]+}} stopped14breakpoint command add -s lua -o 'error("my error message")'15run16# CHECK: my error message17# CHECK: Process {{[0-9]+}} stopped18