<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm5719-llvm/lldb/examples/python, 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>2019-11-22T23:43:39+00:00</updated>
<entry>
<title>[Examples] Move structured-data unpacking out of the loop. (NFC)</title>
<updated>2019-11-22T23:43:39+00:00</updated>
<author>
<name>Jonas Devlieghere</name>
<email>jonas@devlieghere.com</email>
</author>
<published>2019-11-22T23:43:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=b6ae524cd2d5139748e207d4b60b4a900775d6a7'/>
<id>urn:sha1:b6ae524cd2d5139748e207d4b60b4a900775d6a7</id>
<content type='text'>
There's no need to repeat this work in the loop.
</content>
</entry>
<entry>
<title>[Examples] Add in_call_stack breakpoint function.</title>
<updated>2019-11-22T23:36:42+00:00</updated>
<author>
<name>Jonas Devlieghere</name>
<email>jonas@devlieghere.com</email>
</author>
<published>2019-11-22T23:32:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=1b099c1df00e3c8a0ba20af199c89a154bdb7a45'/>
<id>urn:sha1:1b099c1df00e3c8a0ba20af199c89a154bdb7a45</id>
<content type='text'>
The in_call_stack Python script makes it possible to modify the last
breakpoint to only stop if a given function is present in the call
stack. It will check both the symbol name and the function name (coming
from the debug info, in case the binary is stripped).

To use this, you have to:

1. Import the script into lldb.

(lldb) command script import in_call_stack.py

2. Set a breakpoint and use the in_call_stack alias.

(lldb) b foo
(lldb) in_call_stack bar

Note that this alias operates on the last set breakpoint. You can re-run
the in_call_stack command to modify the condition.
</content>
</entry>
<entry>
<title>crashlog.py: Improve regular expressions</title>
<updated>2019-11-07T18:52:06+00:00</updated>
<author>
<name>Adrian Prantl</name>
<email>aprantl@apple.com</email>
</author>
<published>2019-11-07T18:50:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=ff9d732887385e6f3e516769419dd64b406d81d8'/>
<id>urn:sha1:ff9d732887385e6f3e516769419dd64b406d81d8</id>
<content type='text'>
This is yet another change to the regular expressions in crashlog.py
that fix a few edge cases, and attempt to improve the readability
quite a bit in the process. My last change to support spaces in
filenames introduced a bug that caused the version/archspec field to
be parsed as part of the image name.

For example, in "0x1111111 - 0x22222 +MyApp Pro arm64 &lt;01234&gt;", the
name of the image was recognized as "MyApp Pro arm64" instead of
"MyApp Pro" with a "version" of arm64.

The bugfix makes the space following an optional field mandatory
*inside* the optional group.

rdar://problem/56883435

Differential Revision: https://reviews.llvm.org/D69871
</content>
</entry>
<entry>
<title>[Symbolication] Remove some dead code. Nothing exciting.</title>
<updated>2019-07-29T21:25:51+00:00</updated>
<author>
<name>Davide Italiano</name>
<email>davide@freebsd.org</email>
</author>
<published>2019-07-29T21:25:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=9a5fbc816341ccb92ddde90dfb16f411c1cff9c8'/>
<id>urn:sha1:9a5fbc816341ccb92ddde90dfb16f411c1cff9c8</id>
<content type='text'>
llvm-svn: 367262
</content>
</entry>
<entry>
<title>[Symbolication] Remove a duplicate assignment.</title>
<updated>2019-07-29T21:25:45+00:00</updated>
<author>
<name>Davide Italiano</name>
<email>davide@freebsd.org</email>
</author>
<published>2019-07-29T21:25:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=f80c72be20c856db32f9f649a673fbf3621492e5'/>
<id>urn:sha1:f80c72be20c856db32f9f649a673fbf3621492e5</id>
<content type='text'>
llvm-svn: 367261
</content>
</entry>
<entry>
<title>[Symbolication] Fix unicode compatibility between 2 and 3.</title>
<updated>2019-07-29T21:25:37+00:00</updated>
<author>
<name>Davide Italiano</name>
<email>davide@freebsd.org</email>
</author>
<published>2019-07-29T21:25:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=acc626bc57c7b28b56a629bd1a6b7a947e9bbf50'/>
<id>urn:sha1:acc626bc57c7b28b56a629bd1a6b7a947e9bbf50</id>
<content type='text'>
Triples are always ASCII for now, but we were handed out a
unicode object.

&lt;rdar://problem/53592772&gt;

llvm-svn: 367260
</content>
</entry>
<entry>
<title>[crashlog] Fix a mismatch between bytes and strings.</title>
<updated>2019-07-09T01:05:12+00:00</updated>
<author>
<name>Davide Italiano</name>
<email>davide@freebsd.org</email>
</author>
<published>2019-07-09T01:05:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=68946d10ad3bd27e3388f1cfd53720341725132b'/>
<id>urn:sha1:68946d10ad3bd27e3388f1cfd53720341725132b</id>
<content type='text'>
The functions in read_plist() want bytes as input, not
strings.

&lt;rdar://problem/52600712&gt;

llvm-svn: 365416
</content>
</entry>
<entry>
<title>Use the // integer divide operator in these </title>
<updated>2019-06-26T21:41:07+00:00</updated>
<author>
<name>Jason Molenda</name>
<email>jmolenda@apple.com</email>
</author>
<published>2019-06-26T21:41:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=ddf025e8dc467f03592deae2f4845fa3c08407eb'/>
<id>urn:sha1:ddf025e8dc467f03592deae2f4845fa3c08407eb</id>
<content type='text'>
target definition files, like Davide's change to x86_64_target_definition.py.

llvm-svn: 364481
</content>
</entry>
<entry>
<title>[x86-64] Use `//` for integer division in the target definition.</title>
<updated>2019-06-26T19:51:57+00:00</updated>
<author>
<name>Davide Italiano</name>
<email>davide@freebsd.org</email>
</author>
<published>2019-06-26T19:51:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=4201ed2ea385224f0301e4a06d10cf11dd088d09'/>
<id>urn:sha1:4201ed2ea385224f0301e4a06d10cf11dd088d09</id>
<content type='text'>
This forces integer division and works with python 2 and python 3.

&lt;rdar://problem/52073911&gt;

llvm-svn: 364465
</content>
</entry>
<entry>
<title>Python 3: decode string as utf-8 to avoid type mismatch.</title>
<updated>2019-06-14T15:39:14+00:00</updated>
<author>
<name>Adrian Prantl</name>
<email>aprantl@apple.com</email>
</author>
<published>2019-06-14T15:39:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=573ffd88a0e312c71fbeaaf781c569c9cb51e5e8'/>
<id>urn:sha1:573ffd88a0e312c71fbeaaf781c569c9cb51e5e8</id>
<content type='text'>
rdar://problem/51464644

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

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