Home
last modified time | relevance | path

Searched refs:lua (Results 1 – 25 of 30) sorted by relevance

12

/llvm-project-15.0.7/lldb/test/Shell/ScriptInterpreter/Lua/
H A Dcommand_script_import.test1 # RUN: %lldb --script-language lua -o 'command script import %S/Inputs/testmodule.lua' -o 'script t…
5 # RUN: cp %S/Inputs/testmodule.lua %t/testmodule.notlua
6 # RUN: %lldb --script-language lua -o 'command script import %t/testmodule.notlua' -o 'script testm…
7 # EXTENSION: error: module importing failed: lua failed to import '{{.*}}testmodule.notlua': invali…
10 # RUN: %lldb --script-language lua -o 'command script import %S/Inputs/bogus' -o 'script testmodule…
11 # NONEXISTING: error: module importing failed: lua failed to import '{{.*}}bogus': invalid path
H A Dlua.test1 # RUN: %lldb --script-language lua -o 'script io.stdout:write(1000+100+10+1, "\n")' 2>&1 | FileChec…
2 # RUN: %lldb --script-language lua -o 'script -- io.stdout:write(1000+100+10+1, "\n")' 2>&1 | FileC…
3 # RUN: %lldb --script-language lua -o 'script --language default -- io.stdout:write(1000+100+10+1, …
4 # RUN: %lldb -o 'script -l lua -- io.stdout:write(1000+100+10+1, "\n")' 2>&1 | FileCheck %s
5 # RUN: %lldb -o 'script --language lua -- io.stdout:write(1000+100+10+1, "\n")' 2>&1 | FileCheck %s
H A Dbreakpoint_oneline_callback.test2 # RUN: %lldb -s %s --script-language lua %t 2>&1 | FileCheck %s
4 breakpoint command add -s lua -o 'return false'
7 breakpoint command add -s lua -o 'print(bacon)'
11 breakpoint command add -s lua -o "return true"
14 breakpoint command add -s lua -o 'error("my error message")'
H A Dbreakpoint_function_callback.test2 # RUN: %lldb -s %s --script-language lua %t 2>&1 | FileCheck %s
10 breakpoint command add -s lua -F abc
13 breakpoint command add -s lua -F abc -k foo -v 123pizza!
17 breakpoint command add -s lua -o "abc(frame, bp_loc, ...)"
20 breakpoint command add -s lua -F typo
H A Dbreakpoint_callback.test2 # RUN: %lldb -s %s --script-language lua %t 2>&1 | FileCheck %s
4 breakpoint command add -s lua
10 breakpoint command add -s lua
H A Dwatchpoint_callback.test3 # RUN: %lldb -b -s %S/Inputs/watchpoint1.in --script-language lua %t 2>&1 | FileCheck %S/Inputs/wat…
4 # RUN: %lldb -b -s %S/Inputs/watchpoint2.in --script-language lua %t 2>&1 | FileCheck %S/Inputs/wat…
5 # RUN: %lldb -b -s %S/Inputs/watchpoint3.in --script-language lua %t 2>&1 | FileCheck %S/Inputs/wat…
H A Dfail_breakpoint_oneline.test1 # RUN: %lldb -s %s --script-language lua 2>&1 | FileCheck %s
3 breakpoint command add -s lua -o '1234_foo'
H A Dio.test4 # RUN: cat %s | %lldb --script-language lua 2> %t.stderr > %t.stdout
20 # RUN: %lldb --script-language lua -o 'script io.stderr:write(95000 + 126, "\n")' 2> %t.stderr > %t…
H A Dprint.test4 # RUN: cat %s | %lldb --script-language lua 2> %t.stderr > %t.stdout
21 # RUN: %lldb --script-language lua -o 'script print(95000 + 126, nil, "a")' 2> %t.stderr > %t.stdout
H A Dlit.local.cfg1 if 'lua' not in config.available_features:
H A Dindependent_state.test1 # RUN: %lldb --script-language lua -s %S/Inputs/independent_state.in 2>&1 | FileCheck %s
H A Dpersistent_state.test1 # RUN: %lldb --script-language lua -o 'script foo = 1010' -o 'script bar = 101' -o 'script print(fo…
H A Dquit.test3 # RUN: cat %s | %lldb --script-language lua 2>&1 | FileCheck %s
H A Dbindings.test3 # RUN: cat %s | %lldb --script-language lua 2>&1 | FileCheck %s
H A Dpartial_statements.test1 # RUN: %lldb -s %s --script-language lua 2>&1 | FileCheck %s
H A Dnested_sessions.test4 # RUN: %lldb --script-language lua -o "file %t/bar" -o "file %t/foo" -s %S/Inputs/nested_sessions.…
/llvm-project-15.0.7/lldb/unittests/ScriptInterpreter/Lua/
H A DLuaTests.cpp30 Lua lua; in TEST() local
31 llvm::Error error = lua.Run("foo = 1"); in TEST()
36 Lua lua; in TEST() local
37 llvm::Error error = lua.Run("nil = foo"); in TEST()
/llvm-project-15.0.7/lldb/test/Shell/Reproducer/
H A DTestLuaImport.test1 # REQUIRES: lua
6 …RUN: %lldb -x -b --script-language lua --capture --capture-path %t.repro -o 'command script import…
11 # FILES: foo.lua
/llvm-project-15.0.7/lldb/bindings/lua/
H A Dlua.swig12 %include "lua-typemaps.swig"
19 #include "../bindings/lua/lua-swigsafecast.swig"
30 %include "lua-wrapper.swig"
H A DCMakeLists.txt9 -lua
13 ${CMAKE_CURRENT_SOURCE_DIR}/lua.swig
/llvm-project-15.0.7/lldb/source/Plugins/ScriptInterpreter/Lua/
H A DScriptInterpreterLua.cpp284 Lua &lua = lua_interpreter->GetLua(); in BreakpointCallbackFunction() local
287 llvm::Expected<bool> BoolOrErr = lua.CallBreakpointCallback( in BreakpointCallbackFunction()
312 Lua &lua = lua_interpreter->GetLua(); in WatchpointCallbackFunction() local
315 lua.CallWatchpointCallback(baton, stop_frame_sp, wp_sp); in WatchpointCallbackFunction()
/llvm-project-15.0.7/lldb/test/Shell/ScriptInterpreter/Lua/Inputs/
H A Dwatchpoint3.in4 watchpoint command add -s lua
H A Dwatchpoint1.in4 watchpoint command add -s lua
H A Dwatchpoint2.in5 watchpoint command add -s lua
/llvm-project-15.0.7/lldb/test/Shell/ScriptInterpreter/Python/
H A Dscripted_breakpoint_lua.test4 # RUN: cat %s | %lldb --script-language lua 2>&1 | FileCheck %s

12