llvm-project/lldb/test/Shell/ScriptInterpreter/Lua/watchpoint_callback.test

9 lines
287 B
Plaintext

# REQUIRES: lua
# RUN: echo "int main() { return 0; }" | %clang_host -x c - -o %t
# RUN: %lldb -s %s --script-language lua %t 2>&1 | FileCheck %s
b main
r
watchpoint set expr 0x0
watchpoint command add -s lua
# CHECK: error: This script interpreter does not support watchpoint callbacks