<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm5719-llvm/lldb/scripts/interface, 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-09T16:44:34+00:00</updated>
<entry>
<title>[lldb/Bindings] Move bindings into their own subdirectory</title>
<updated>2020-01-09T16:44:34+00:00</updated>
<author>
<name>Jonas Devlieghere</name>
<email>jonas@devlieghere.com</email>
</author>
<published>2020-01-09T15:57:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=6498aff249a1c3c6bad33137df3b90e2973722d6'/>
<id>urn:sha1:6498aff249a1c3c6bad33137df3b90e2973722d6</id>
<content type='text'>
All the code required to generate the language bindings for Python and
Lua lives under scripts, even though the majority of this code aren't
scripts at all, and surrounded by scripts that are totally unrelated.

I've reorganized these files and moved everything related to the
language bindings into a new top-level directory named bindings. This
makes the corresponding files self contained and much more discoverable.

Differential revision: https://reviews.llvm.org/D72437
</content>
</entry>
<entry>
<title>[lldb/SWIG] Refactor extensions to be non Python-specific (3/3)</title>
<updated>2020-01-09T05:02:59+00:00</updated>
<author>
<name>Jonas Devlieghere</name>
<email>jonas@devlieghere.com</email>
</author>
<published>2020-01-09T04:56:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=51bdd98b8a52d07004bcaddff26caf376a1c32bf'/>
<id>urn:sha1:51bdd98b8a52d07004bcaddff26caf376a1c32bf</id>
<content type='text'>
The current SWIG extensions for the string conversion operator is Python
specific because it uses the PythonObjects. This means that the code
cannot be reused for other SWIG supported languages such as Lua.

This reimplements the extensions in a more generic way that can be
reused. It uses a SWIG macro to reduce code duplication.

Differential revision: https://reviews.llvm.org/D72377
</content>
</entry>
<entry>
<title>[lldb/SWIG] Refactor extensions to be non Python-specific (2/2)</title>
<updated>2020-01-09T00:34:09+00:00</updated>
<author>
<name>Jonas Devlieghere</name>
<email>jonas@devlieghere.com</email>
</author>
<published>2020-01-09T00:13:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=ae47a3d8107856c84c104f3c2e43a553f4e36748'/>
<id>urn:sha1:ae47a3d8107856c84c104f3c2e43a553f4e36748</id>
<content type='text'>
The current SWIG extensions for the string conversion operator is Python
specific because it uses the PythonObjects. This means that the code
cannot be reused for other SWIG supported languages such as Lua.

This reimplements the extensions in a more generic way that can be
reused. It uses a SWIG macro to reduce code duplication.

Differential revision: https://reviews.llvm.org/D72377
</content>
</entry>
<entry>
<title>[lldb/SWIG] Refactor extensions to be non Python-specific</title>
<updated>2020-01-08T21:37:07+00:00</updated>
<author>
<name>Jonas Devlieghere</name>
<email>jonas@devlieghere.com</email>
</author>
<published>2020-01-08T21:34:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=0341c11e08504acef8c16ab07210bc253dadf2d9'/>
<id>urn:sha1:0341c11e08504acef8c16ab07210bc253dadf2d9</id>
<content type='text'>
The current SWIG extensions for the string conversion operator is Python
specific because it uses the PythonObjects. This means that the code
cannot be reused for other SWIG supported languages such as Lua.

This reimplements the extensions in a more generic way that can be
reused.

Differential revision: https://reviews.llvm.org/D72377
</content>
</entry>
<entry>
<title>Remove TypeValidators (NFC in terms of the testsuite)</title>
<updated>2019-12-11T17:27:12+00:00</updated>
<author>
<name>Adrian Prantl</name>
<email>aprantl@apple.com</email>
</author>
<published>2019-12-10T23:32:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=ee64dfd953f89a9d3df3c13a28b1bce33f33f4cb'/>
<id>urn:sha1:ee64dfd953f89a9d3df3c13a28b1bce33f33f4cb</id>
<content type='text'>
This is a half-implemented feature that as far as we can tell was
never used by anything since its original inclusion in 2014. This
patch removes it to make remaining the code easier to understand.

Differential Revision: https://reviews.llvm.org/D71310
</content>
</entry>
<entry>
<title>[lldb/SWIG] Guard Python type map in SWIG interface by SWIGPYTHON</title>
<updated>2019-12-09T17:35:48+00:00</updated>
<author>
<name>Jonas Devlieghere</name>
<email>jonas@devlieghere.com</email>
</author>
<published>2019-12-09T17:33:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=fe96d1ee788d3e8dcdc6fb984bc5376d9ec84d7d'/>
<id>urn:sha1:fe96d1ee788d3e8dcdc6fb984bc5376d9ec84d7d</id>
<content type='text'>
Guard the Python type map in SBTarget by the SWIGPYTHON define to
ensures the rest of the interface can be reused for other languages
supported by SWIG.
</content>
</entry>
<entry>
<title>[lldb/SWIG] Guard embedded Python code in SWIG interfaces by SWIGPYTHON</title>
<updated>2019-12-08T22:48:51+00:00</updated>
<author>
<name>Jonas Devlieghere</name>
<email>jonas@devlieghere.com</email>
</author>
<published>2019-12-08T22:46:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=0a5703458b7f577f628ca123a47c209653f19dc2'/>
<id>urn:sha1:0a5703458b7f577f628ca123a47c209653f19dc2</id>
<content type='text'>
Guard the embedded Python code in LLDB's interface files by the
SWIGPYTHON define to ensures they can be reused for other languages
supported by SWIG.
</content>
</entry>
<entry>
<title>    Add the ability to pass extra args to a Python breakpoint callback.</title>
<updated>2019-10-25T21:05:07+00:00</updated>
<author>
<name>Jim Ingham</name>
<email>jingham@apple.com</email>
</author>
<published>2019-10-25T21:05:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=738af7a6241c98164625b9cd1ba9f8af4e36f197'/>
<id>urn:sha1:738af7a6241c98164625b9cd1ba9f8af4e36f197</id>
<content type='text'>
    For example, it is pretty easy to write a breakpoint command that implements "stop when my caller is Foo", and
    it is pretty easy to write a breakpoint command that implements "stop when my caller is Bar". But there's no
    way to write a generic "stop when my caller is..." function, and then specify the caller when you add the
    command to a breakpoint.

    With this patch, you can pass this data in a SBStructuredData dictionary. That will get stored in
    the PythonCommandBaton for the breakpoint, and passed to the implementation function (if it has the right
    signature) when the breakpoint is hit. Then in lldb, you can say:

    (lldb) break com add -F caller_is -k caller_name -v Foo

    More generally this will allow us to write reusable Python breakpoint commands.

    Differential Revision: https://reviews.llvm.org/D68671
</content>
</entry>
<entry>
<title>remove FILE* usage from SBStream.i</title>
<updated>2019-10-15T17:41:40+00:00</updated>
<author>
<name>Lawrence D'Anna</name>
<email>lawrence_danna@apple.com</email>
</author>
<published>2019-10-15T17:41:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=30cf609548d9379178ef618d9c8790459221ed22'/>
<id>urn:sha1:30cf609548d9379178ef618d9c8790459221ed22</id>
<content type='text'>
Summary:
This patch removes FILE* and replaces it with SBFile and FileSP the
SWIG interface for `SBStream.i`.   And this is the last one.   With
this change, nothing in the python API will can access a FILE* method
on the C++ side.

Reviewers: JDevlieghere, jasonmolenda, labath

Reviewed By: labath

Subscribers: lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D68960

llvm-svn: 374924
</content>
</entry>
<entry>
<title>convert SBDebugger::***FileHandle() wrappers to native files.</title>
<updated>2019-10-15T16:59:20+00:00</updated>
<author>
<name>Lawrence D'Anna</name>
<email>lawrence_danna@apple.com</email>
</author>
<published>2019-10-15T16:59:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=311dbb1bd7c2933e8c1f5317aa9ef8715b4fae3c'/>
<id>urn:sha1:311dbb1bd7c2933e8c1f5317aa9ef8715b4fae3c</id>
<content type='text'>
Summary:
This patch converts the swig wrappers for SetInputFileHandle() and friends
to emulate the old behavior using SetInputFile().

This will clear the way for deleting the FILE* typemaps altogether.

Reviewers: JDevlieghere, jasonmolenda, labath

Reviewed By: labath

Subscribers: mehdi_amini, dexonsmith, lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D68856

llvm-svn: 374912
</content>
</entry>
</feed>
