The Python script interpreter makes the current debugger, target, process, thread and frame available to interactive scripting sessions through convenience variables. This patch does the same for Lua. Differential revision: https://reviews.llvm.org/D71801
7 lines
144 B
Plaintext
7 lines
144 B
Plaintext
# REQUIRES: lua
|
|
#
|
|
# RUN: %lldb --script-language lua -s %S/Inputs/independent_state.in 2>&1 | FileCheck %s
|
|
# CHECK: 47
|
|
# CHECK: 47
|
|
# CHECK: 42
|