<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm5719-llvm/lldb/packages/Python/lldbsuite/test/functionalities, 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-15T12:04:04+00:00</updated>
<entry>
<title>[lldb] Add expect_expr function for testing expression evaluation in dotests.</title>
<updated>2020-01-15T12:04:04+00:00</updated>
<author>
<name>Raphael Isemann</name>
<email>teemperor@gmail.com</email>
</author>
<published>2020-01-15T12:03:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=13f22f5d5958a46db1212a083a426e339204c783'/>
<id>urn:sha1:13f22f5d5958a46db1212a083a426e339204c783</id>
<content type='text'>
Summary:
This patch adds a new function to lldbtest: `expect_expr`. This function is supposed to replace the current approach
of calling `expect`/`runCmd` with `expr`, `p` etc.

`expect_expr` allows evaluating expressions and matching their value/summary/type/error message without
having to do any string matching that might allow unintended passes (e.g., `self.expect("expr 3+4", substrs=["7"])`
can unexpectedly pass for results like `(Class7) $0 = 7`, `(int) $7 = 22`, `(int) $0 = 77` and so on).

This only uses the function in a few places to test and demonstrate it. I'll migrate the tests in follow up commits.

Reviewers: JDevlieghere, shafik, labath

Reviewed By: labath

Subscribers: christof, abidh, lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D70314
</content>
</entry>
<entry>
<title>[lldb/test] Add test for CMTime data formatter</title>
<updated>2020-01-15T07:11:15+00:00</updated>
<author>
<name>Jonas Devlieghere</name>
<email>jonas@devlieghere.com</email>
</author>
<published>2020-01-15T07:05:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=914b551eeed159ba6051852c0aa63a1311ac4e40'/>
<id>urn:sha1:914b551eeed159ba6051852c0aa63a1311ac4e40</id>
<content type='text'>
Add a test for the CMTime data formatter. The coverage report showed
that this code path was untested.
</content>
</entry>
<entry>
<title>[lldb][tests] Cleanup '.categories'</title>
<updated>2020-01-10T13:39:38+00:00</updated>
<author>
<name>Tatyana Krasnukha</name>
<email>tatyana@synopsys.com</email>
</author>
<published>2019-12-11T16:33:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=b3af8ab7f83c2a825c584ddedf5cc9207ca66b44'/>
<id>urn:sha1:b3af8ab7f83c2a825c584ddedf5cc9207ca66b44</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Data formatters: Look through array element typedefs</title>
<updated>2020-01-10T10:45:24+00:00</updated>
<author>
<name>Jaroslav Sevcik</name>
<email>jarin@google.com</email>
</author>
<published>2020-01-10T10:44:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=902974277d507a149e33487d32e4ba58c41451b6'/>
<id>urn:sha1:902974277d507a149e33487d32e4ba58c41451b6</id>
<content type='text'>
Summary:
Motivation: When formatting an array of typedefed chars, we would like to display the array as a string.

The string formatter currently does not trigger because the formatter lookup does not resolve typedefs for array elements (this behavior is inconsistent with pointers, for those we do look through pointee typedefs). This patch tries to make the array formatter lookup somewhat consistent with the pointer formatter lookup.

Reviewers: teemperor, clayborg

Reviewed By: teemperor, clayborg

Subscribers: clayborg, lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D72133
</content>
</entry>
<entry>
<title>When reading Aux file in chunks, read consecutive byte ranges</title>
<updated>2020-01-10T00:05:38+00:00</updated>
<author>
<name>Jason Molenda</name>
<email>jmolenda@apple.com</email>
</author>
<published>2020-01-10T00:05:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=02113918ed6b5e514afd7d1e007131d36ac13f1d'/>
<id>urn:sha1:02113918ed6b5e514afd7d1e007131d36ac13f1d</id>
<content type='text'>
qemu has a very small maximum packet size (4096) and it actually
only uses half of that buffer for some implementation reason,
so when lldb asks for the register target definitions, the x86_64
definition is larger than 4096/2 and we need to fetch it in two parts.

This patch and test is fixing a bug in
GDBRemoteCommunicationClient::ReadExtFeature when reading a target
file in multiple parts.  lldb was assuming that it would always
get back the maximum packet size response (4096) instead of
using the actual size received and asking for the next group of
bytes.

We now have two tests in gdb_remote_client for unique features
of qemu - TestNestedRegDefinitions.py would test the ability
of lldb to follow multiple levels of xml includes; I opted to
create a separate TestRegDefinitionInParts.py test to test this
wrinkle in qemu's gdb remote serial protocol stub implementation.
Instead of combining both tests into a single test file.

&lt;rdar://problem/49537922&gt;
</content>
</entry>
<entry>
<title>tests: XFAIL/UNSUPPORTED tests on Windows</title>
<updated>2020-01-01T22:22:49+00:00</updated>
<author>
<name>Saleem Abdulrasool</name>
<email>compnerd@compnerd.org</email>
</author>
<published>2020-01-01T22:19:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=fb170fd652bf2fcc4c2cd54aaf384591d8df266b'/>
<id>urn:sha1:fb170fd652bf2fcc4c2cd54aaf384591d8df266b</id>
<content type='text'>
Now that we are building the python bindings on Windows once more, the
extended testsuite is running.  Mark a few failing tests and skip a few
tests which hang.  This should at least bring the bot back to green
without reverting the Python changes which are an improvement for the
build system and enable another ~35% of the test suite which was
previously disabled.
</content>
</entry>
<entry>
<title>[lldb][tests] Posix function strdup requires macro _POSIX_C_SOURCE</title>
<updated>2019-12-26T15:49:34+00:00</updated>
<author>
<name>Tatyana Krasnukha</name>
<email>tatyana@synopsys.com</email>
</author>
<published>2019-11-29T11:11:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=f57b35af2f00791d1203080c43ca1d87db6cad41'/>
<id>urn:sha1:f57b35af2f00791d1203080c43ca1d87db6cad41</id>
<content type='text'>
</content>
</entry>
<entry>
<title>test: ensure that we dead-strip in the linker</title>
<updated>2019-12-24T18:19:22+00:00</updated>
<author>
<name>Saleem Abdulrasool</name>
<email>compnerd@compnerd.org</email>
</author>
<published>2019-12-24T18:18:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=64c6bb37832c2139a91801fece96de8898151079'/>
<id>urn:sha1:64c6bb37832c2139a91801fece96de8898151079</id>
<content type='text'>
`/OPT:REF` is needed for link to dead strip functions, `/Gy` by itself
is not sufficient.
</content>
</entry>
<entry>
<title>test: correct flags for Windows</title>
<updated>2019-12-24T04:21:26+00:00</updated>
<author>
<name>Saleem Abdulrasool</name>
<email>compnerd@compnerd.org</email>
</author>
<published>2019-12-24T04:20:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=4b0563f89f939f2160002298d5491a8fc8ee1137'/>
<id>urn:sha1:4b0563f89f939f2160002298d5491a8fc8ee1137</id>
<content type='text'>
Adjust the flags for the LLDB test on Windows.  This test was previously
not running, but after the fix to the python detection, we now run this.
</content>
</entry>
<entry>
<title>[lldb] Remove XFAIL from TestDeadStrip.py</title>
<updated>2019-12-20T09:04:25+00:00</updated>
<author>
<name>Pavel Labath</name>
<email>pavel@labath.sk</email>
</author>
<published>2019-12-20T09:03:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=4cc5659a7a1f2fa3dcb3256fd3c3d07b2833b586'/>
<id>urn:sha1:4cc5659a7a1f2fa3dcb3256fd3c3d07b2833b586</id>
<content type='text'>
Fixed by 92211b.
</content>
</entry>
</feed>
