Mercurial > hg > CbC > CbC_llvm
view lldb/test/Shell/Driver/TestConvenienceVariables.test @ 227:21e6aa2e49ef
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 19 Jul 2021 06:57:16 +0900 |
parents | 1d019706d866 |
children | c4bab56944e8 |
line wrap: on
line source
REQUIRES: python RUN: mkdir -p %t RUN: %build %p/Inputs/hello.cpp -o %t/target.out RUN: %lldb %t/target.out -s %p/Inputs/convenience.in -o quit | FileCheck %s CHECK: stop reason = breakpoint 1.1 CHECK: script print(lldb.debugger) CHECK-NEXT: Debugger (instance: {{.*}}, id: {{[0-9]+}}) CHECK: script print(lldb.target) CHECK-NEXT: target.out CHECK: script print(lldb.process) CHECK-NEXT: SBProcess: pid = {{[0-9]+}}, state = stopped, threads = {{[0-9]+}}, executable = target.out CHECK: script print(lldb.thread.GetStopDescription(100)) CHECK-NEXT: breakpoint 1.1 CHECK: script lldb.frame.GetLineEntry().GetLine() CHECK-NEXT: 8 CHECK: script lldb.frame.GetLineEntry().GetFileSpec().GetFilename() CHECK-NEXT: hello.c CHECK: script lldb.frame.GetFunctionName() CHECK-NEXT: main