<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm5719-llvm/lldb/test/Shell/ScriptInterpreter/Lua, branch meklort-10.0.1</title>
<subtitle>Project Ortega BCM5719 LLVM</subtitle>
<id>https://git.raptorcs.com/git/bcm5719-llvm/atom?h=meklort-10.0.1</id>
<link rel='self' href='https://git.raptorcs.com/git/bcm5719-llvm/atom?h=meklort-10.0.1'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/'/>
<updated>2020-01-10T18:22:30+00:00</updated>
<entry>
<title>[lldb/Lua] Support loading Lua modules</title>
<updated>2020-01-10T18:22:30+00:00</updated>
<author>
<name>Jonas Devlieghere</name>
<email>jonas@devlieghere.com</email>
</author>
<published>2020-01-10T18:21:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=572b9f468ad6844795fec29a7e671ba64d82e8c2'/>
<id>urn:sha1:572b9f468ad6844795fec29a7e671ba64d82e8c2</id>
<content type='text'>
Implements the command script import command for Lua.

Differential revision: https://reviews.llvm.org/D71825
</content>
</entry>
<entry>
<title>[lldb/lua] Make convenience_variables.test compatible with lua-5.1</title>
<updated>2020-01-10T12:02:01+00:00</updated>
<author>
<name>Pavel Labath</name>
<email>pavel@labath.sk</email>
</author>
<published>2020-01-10T12:01:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=5b7612792aeb5b161fdd69997db2a64b08f075b6'/>
<id>urn:sha1:5b7612792aeb5b161fdd69997db2a64b08f075b6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[lldb/Lua] Make lldb.debugger et al available to Lua</title>
<updated>2020-01-09T16:15:41+00:00</updated>
<author>
<name>Jonas Devlieghere</name>
<email>jonas@devlieghere.com</email>
</author>
<published>2020-01-09T16:15:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=45c971f7eef18ef2b77a5f64133dbd7bd5939d5f'/>
<id>urn:sha1:45c971f7eef18ef2b77a5f64133dbd7bd5939d5f</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>[lldb/lua] Fix bindings.test for lua-5.1</title>
<updated>2019-12-23T10:07:35+00:00</updated>
<author>
<name>Pavel Labath</name>
<email>pavel@labath.sk</email>
</author>
<published>2019-12-23T10:05:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=12a3d97cf68389a025b8a75b8ea660b11401a3c8'/>
<id>urn:sha1:12a3d97cf68389a025b8a75b8ea660b11401a3c8</id>
<content type='text'>
string.format("%s", true) only works since lua-5.2. Make the print
statement more portable.
</content>
</entry>
<entry>
<title>[lldb/ScriptInterpreter] Fix stale/bogus error messages</title>
<updated>2019-12-22T06:33:02+00:00</updated>
<author>
<name>Jonas Devlieghere</name>
<email>jonas@devlieghere.com</email>
</author>
<published>2019-12-22T06:33:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=ba0eb7b66fd9dac7bf4883f70b65bded03a4b97a'/>
<id>urn:sha1:ba0eb7b66fd9dac7bf4883f70b65bded03a4b97a</id>
<content type='text'>
Fix the nonsensical error messages for when breakpoint and watchpoint
callbacks are not supported.
</content>
</entry>
<entry>
<title>[Lldb/Lua] Persist Lua state across script interpreter calls.</title>
<updated>2019-12-21T23:00:35+00:00</updated>
<author>
<name>Jonas Devlieghere</name>
<email>jonas@devlieghere.com</email>
</author>
<published>2019-12-21T22:58:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=4164be7206d740b77b5a7b4b2f859ed122d08c10'/>
<id>urn:sha1:4164be7206d740b77b5a7b4b2f859ed122d08c10</id>
<content type='text'>
Don't create a new lua state on every operation. Share a single state
across the lifetime of the script interpreter. Add simple locking to
prevent two threads from modifying the state concurrently.
</content>
</entry>
<entry>
<title>[Lldb/Lua] Generate Lua Bindings</title>
<updated>2019-12-21T19:28:41+00:00</updated>
<author>
<name>Jonas Devlieghere</name>
<email>jonas@devlieghere.com</email>
</author>
<published>2019-12-08T23:32:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=bf03e17c570171c7a52117fe63ace89d58f328d5'/>
<id>urn:sha1:bf03e17c570171c7a52117fe63ace89d58f328d5</id>
<content type='text'>
This patch uses SWIG to generate the Lua bindings for the SB API. It
covers most of the API, but some methods require a type map similar to
Python.

Discussion on the mailing list:
http://lists.llvm.org/pipermail/lldb-dev/2019-December/015812.html

Differential revision: https://reviews.llvm.org/D71235
</content>
</entry>
<entry>
<title>[lldb/Lua] Implement a Simple Lua Script Interpreter Prototype</title>
<updated>2019-12-20T19:19:47+00:00</updated>
<author>
<name>Jonas Devlieghere</name>
<email>jonas@devlieghere.com</email>
</author>
<published>2019-12-08T01:35:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=2861324208e13846eb306f01b32448f94177cc3b'/>
<id>urn:sha1:2861324208e13846eb306f01b32448f94177cc3b</id>
<content type='text'>
This implements a very elementary Lua script interpreter. It supports
running a single command as well as running interactively. It uses
editline if available. It's still missing a bunch of stuff though. Some
things that I intentionally ingored for now are that I/O isn't properly
hooked up (so every print goes to stdout) and the non-editline support
which is not handling a bunch of corner cases. The latter is a matter of
reusing existing code in the Python interpreter.

Discussion on the mailing list:
http://lists.llvm.org/pipermail/lldb-dev/2019-December/015812.html

Differential revision: https://reviews.llvm.org/D71234
</content>
</entry>
</feed>
