<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm5719-llvm/lldb/packages/Python/lldbsuite/test/tools, 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-12-17T10:08:52+00:00</updated>
<entry>
<title>[lldb-vscode] Centrally skip debug info variants for vscode tests</title>
<updated>2019-12-17T10:08:52+00:00</updated>
<author>
<name>Pavel Labath</name>
<email>pavel@labath.sk</email>
</author>
<published>2019-12-16T13:15:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=dcd14324dced7d91aa8bf78a607055ca093b27bf'/>
<id>urn:sha1:dcd14324dced7d91aa8bf78a607055ca093b27bf</id>
<content type='text'>
Previously each test was annotated manually. This does the same thing.
</content>
</entry>
<entry>
<title>[lldb] Use file-based synchronization in TestVSCode_attach</title>
<updated>2019-12-16T13:10:42+00:00</updated>
<author>
<name>Pavel Labath</name>
<email>pavel@labath.sk</email>
</author>
<published>2019-12-16T13:09:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=755a66ebdeda38669f5498565cbc6af331b47bad'/>
<id>urn:sha1:755a66ebdeda38669f5498565cbc6af331b47bad</id>
<content type='text'>
The is the best method we have at the moment for attach-style tests.
</content>
</entry>
<entry>
<title>[lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()'</title>
<updated>2019-12-13T11:23:04+00:00</updated>
<author>
<name>Raphael Isemann</name>
<email>teemperor@gmail.com</email>
</author>
<published>2019-12-13T11:11:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=a52a11139c0e3db9b00079aa1516080742b79475'/>
<id>urn:sha1:a52a11139c0e3db9b00079aa1516080742b79475</id>
<content type='text'>
Summary:
A lot of tests do this trick but the vast majority of them don't even call `print()`.

Most of this patch was generated by a script that just looks at all the files and deletes the line if there is no `print (` or `print(` anywhere else in the file.
I checked the remaining tests manually and deleted the import if we never call print (but instead do stuff like `expr print(...)` and similar false-positives).
I also corrected the additional empty lines after the import in the files that I manually edited.

Reviewers: JDevlieghere, labath, jfb

Reviewed By: labath

Subscribers: dexonsmith, wuzish, nemanjai, kbarton, christof, arphaman, abidh, lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D71452
</content>
</entry>
<entry>
<title>The field ‘totalFrames’ which is total number of frames available, is mandatory in StackTraces response for VSCode extension that implements DAP and declares capability 'supportsDelayedStackTraceLoading':</title>
<updated>2019-12-09T18:43:50+00:00</updated>
<author>
<name>Serhiy Redko</name>
<email>serhiy.redko@oculus.com</email>
</author>
<published>2019-12-08T04:11:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=6dad5e441db5400a9716fd3c6f943ceeeecdfe4e'/>
<id>urn:sha1:6dad5e441db5400a9716fd3c6f943ceeeecdfe4e</id>
<content type='text'>
"The debug adapter supports the delayed loading of parts of the stack,
which requires that both the 'startFrame' and 'levels' arguments and the
'totalFrames' result of the 'StackTrace' request are supported."

Lack of this field makes VSCode incorrectly display stack traces information

D71034
</content>
</entry>
<entry>
<title>[lldb] Remove Xfail decorators from steadily passing tests</title>
<updated>2019-12-09T14:08:59+00:00</updated>
<author>
<name>Muhammad Omair Javaid</name>
<email>omair.javaid@linaro.org</email>
</author>
<published>2019-12-09T14:07:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=0964733bae2d0823f7b431ee2b16a3fd1dd993e3'/>
<id>urn:sha1:0964733bae2d0823f7b431ee2b16a3fd1dd993e3</id>
<content type='text'>
This patch removes xfail decorator from some lldb testcases which are
passing steadily now for past few week/months on aarch64/linux buildbot.
</content>
</entry>
<entry>
<title>[lldb] [test] Un-XFAIL lldb-server tests fixed on NetBSD</title>
<updated>2019-11-26T15:46:21+00:00</updated>
<author>
<name>Michał Górny</name>
<email>mgorny@gentoo.org</email>
</author>
<published>2019-11-26T15:45:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=3cd9a8b7dc61e3ca5829225548d6346b8a5a25bb'/>
<id>urn:sha1:3cd9a8b7dc61e3ca5829225548d6346b8a5a25bb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[lldb] [Process/NetBSD] Improve threading support</title>
<updated>2019-11-25T19:11:58+00:00</updated>
<author>
<name>Michał Górny</name>
<email>mgorny@gentoo.org</email>
</author>
<published>2019-07-12T17:11:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=8d9400b65b972cb50fe2266360443192ea107ec9'/>
<id>urn:sha1:8d9400b65b972cb50fe2266360443192ea107ec9</id>
<content type='text'>
Implement major improvements to multithreaded program support.  Notably,
support tracking new and exited threads, associate signals and events
with correct threads and support controlling individual threads when
resuming.

Firstly, use PT_SET_EVENT_MASK to enable reporting of created and exited
threads via SIGTRAP.  Handle TRAP_LWP events to keep track
of the currently running threads.

Secondly, update the signal (both generic and SIGTRAP) handling code
to account for per-thread signals correctly.  Signals delivered
to the whole process are reported on all threads, while per-thread
signals and events are reported only to the specific thread.
The remaining threads are marked as 'stopped with no reason'.  Note that
NetBSD always stops all threads on debugger events.

Thirdly, implement the ability to set every thread as running, stopped
or single-stepping separately while continuing the process.  This also
provides the ability to send a signal to the whole process or to one
of its thread while resuming.

Differential Revision: https://reviews.llvm.org/D70022
</content>
</entry>
<entry>
<title>[lldb-vscode] Fix a race in test_extra_launch_commands</title>
<updated>2019-11-25T09:07:38+00:00</updated>
<author>
<name>Pavel Labath</name>
<email>pavel@labath.sk</email>
</author>
<published>2019-11-12T16:28:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=aa16bf15fe38ae4d12d85e7610891dd48e6c0cda'/>
<id>urn:sha1:aa16bf15fe38ae4d12d85e7610891dd48e6c0cda</id>
<content type='text'>
Summary:
The test used a non-stopping "run" command to launch the process. This
is different from the regular launch with no extra launch commands,
which uses eLaunchFlagStopAtEntry to ensure that the process stops
straight away.

I'm not really sure what's supposed to happen in non-stop-at-entry mode,
or if that's even supported, but what ended up happening was the launch
packet got a reply while the process was running. Then the test case did
a continue_to_next_stop(), which queued a *second* resume request
(along with the internal "resumes" which were being issued as a part of
normal process startup). These two resumes ended up chasing each other's
tails inside lldb in a way which produced hilarious log traces.
Surprisingly, the test ended up passing most of the time, but it did
cause spurious failures when the test seemed to miss a breakpoint.

This changes the test to use stop-at-entry mode in the manual launch
sequence too, which seems to be enough to make the test pass reliably.

Reviewers: clayborg, kusmour, jankratochvil

Subscribers: lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D70127
</content>
</entry>
<entry>
<title>[lldb] [test] Un-XFAIL one lldb-server test on NetBSD</title>
<updated>2019-11-20T20:16:34+00:00</updated>
<author>
<name>Michał Górny</name>
<email>mgorny@gentoo.org</email>
</author>
<published>2019-11-20T20:16:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=923afb4a61708cd6d5c6786c81f55a682ec46497'/>
<id>urn:sha1:923afb4a61708cd6d5c6786c81f55a682ec46497</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[lldb] [test] XFAIL more lldb-server tests on NetBSD</title>
<updated>2019-11-18T21:36:04+00:00</updated>
<author>
<name>Michał Górny</name>
<email>mgorny@gentoo.org</email>
</author>
<published>2019-11-18T21:07:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=085486779890e394dd42447c7c5b0fb36a79ea2b'/>
<id>urn:sha1:085486779890e394dd42447c7c5b0fb36a79ea2b</id>
<content type='text'>
</content>
</entry>
</feed>
