3 RUN: %build %p/Inputs/hello.cpp -o %t/target.out
4 RUN: %lldb %t/target.out -s %p/Inputs/convenience.in -o quit | FileCheck %s
6 CHECK: stop reason = breakpoint 1.1
7 CHECK: script print(lldb.debugger)
8 CHECK-NEXT: Debugger (instance: {{.*}}, id: {{[0-9]+}})
9 CHECK: script lldb.debugger
10 CHECK-NEXT: Debugger (instance: {{.*}}, id: {{[0-9]+}})
11 CHECK: script print(lldb.target)
12 CHECK-NEXT: target.out
13 CHECK: script lldb.target
14 CHECK-NEXT: target.out
15 CHECK: script print(lldb.process)
16 CHECK-NEXT: SBProcess: pid = {{[0-9]+}}, state = stopped, threads = {{[0-9]+}}, executable = target.out
17 CHECK: script lldb.process
18 CHECK-NEXT: SBProcess: pid = {{[0-9]+}}, state = stopped, threads = {{[0-9]+}}, executable = target.out
19 CHECK: script print(lldb.thread.GetStopDescription(100))
20 CHECK-NEXT: breakpoint 1.1
21 CHECK: script lldb.frame.GetLineEntry().GetLine()
23 CHECK: script lldb.frame.GetLineEntry().GetFileSpec().GetFilename()
25 CHECK: script lldb.frame.GetFunctionName()