| /llvm-project-15.0.7/lldb/test/Shell/ScriptInterpreter/Lua/ |
| H A D | command_script_import.test | 1 # 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 D | lua.test | 1 # 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 D | breakpoint_oneline_callback.test | 2 # 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 D | breakpoint_function_callback.test | 2 # 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 D | breakpoint_callback.test | 2 # 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 D | watchpoint_callback.test | 3 # 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 D | fail_breakpoint_oneline.test | 1 # RUN: %lldb -s %s --script-language lua 2>&1 | FileCheck %s 3 breakpoint command add -s lua -o '1234_foo'
|
| H A D | io.test | 4 # 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 D | print.test | 4 # 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 D | lit.local.cfg | 1 if 'lua' not in config.available_features:
|
| H A D | independent_state.test | 1 # RUN: %lldb --script-language lua -s %S/Inputs/independent_state.in 2>&1 | FileCheck %s
|
| H A D | persistent_state.test | 1 # RUN: %lldb --script-language lua -o 'script foo = 1010' -o 'script bar = 101' -o 'script print(fo…
|
| H A D | quit.test | 3 # RUN: cat %s | %lldb --script-language lua 2>&1 | FileCheck %s
|
| H A D | bindings.test | 3 # RUN: cat %s | %lldb --script-language lua 2>&1 | FileCheck %s
|
| H A D | partial_statements.test | 1 # RUN: %lldb -s %s --script-language lua 2>&1 | FileCheck %s
|
| H A D | nested_sessions.test | 4 # 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 D | LuaTests.cpp | 30 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 D | TestLuaImport.test | 1 # 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 D | lua.swig | 12 %include "lua-typemaps.swig" 19 #include "../bindings/lua/lua-swigsafecast.swig" 30 %include "lua-wrapper.swig"
|
| H A D | CMakeLists.txt | 9 -lua 13 ${CMAKE_CURRENT_SOURCE_DIR}/lua.swig
|
| /llvm-project-15.0.7/lldb/source/Plugins/ScriptInterpreter/Lua/ |
| H A D | ScriptInterpreterLua.cpp | 284 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 D | watchpoint3.in | 4 watchpoint command add -s lua
|
| H A D | watchpoint1.in | 4 watchpoint command add -s lua
|
| H A D | watchpoint2.in | 5 watchpoint command add -s lua
|
| /llvm-project-15.0.7/lldb/test/Shell/ScriptInterpreter/Python/ |
| H A D | scripted_breakpoint_lua.test | 4 # RUN: cat %s | %lldb --script-language lua 2>&1 | FileCheck %s
|