brintos

brintos / llvm-project-archived public Read only

0
0
Text · 493 B · ab18844 Raw
14 lines · plain
1# REQUIRES: python2# RUN: echo 'b main' > %t.in3# RUN: echo 'run' >> %t.in4# RUN: echo 'command script import %S/Inputs/frame.py' >> %t.in5 6# RUN: %clang_host -g -O0 %S/Inputs/main.c -o %t.out7# RUN: %lldb -b -s %t.in -o 'script print("script: {}".format(lldb.frame))' %t.out | FileCheck %s8 9# Make sure that we don't have access to lldb.frame from the Python script.10# CHECK: frame.py: None11 12# Make sure that we do have access to lldb.frame from the script command.13# CHECK: script: frame #014