hanchenye-llvm-project/lldb/lit/Expr/TestCallStopAndContinue.test

13 lines
487 B
Plaintext

# XFAIL: windows
# -> llvm.org/pr24489
# RUN: %cxx %p/Inputs/call-function.cpp -g -o %t && %lldb -b -s %s -o continue -o "thread list" -- %t 2>&1 | FileCheck %s
breakpoint set --file call-function.cpp --line 52
run
breakpoint set --file call-function.cpp --line 14
expression -i false -- returnsFive()
# CHECK: Execution was interrupted, reason: breakpoint
# CHECK: stop reason = User Expression thread plan
# CHECK: Completed expression: (Five) $0 = (number = 5{{.*}}, name = "five")