<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm5719-llvm/lldb/source/Plugins/Process/Windows/Common, 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-27T08:44:42+00:00</updated>
<entry>
<title>[LLDB] Avoid using InitializeContext for zero-initializing a CONTEXT. NFC.</title>
<updated>2019-11-27T08:44:42+00:00</updated>
<author>
<name>Martin Storsjö</name>
<email>martin@martin.st</email>
</author>
<published>2019-10-16T08:41:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=344bdeb797b31bb99158010f255a7219fe77e2ec'/>
<id>urn:sha1:344bdeb797b31bb99158010f255a7219fe77e2ec</id>
<content type='text'>
InitializeContext is useful for allocating a (potentially variable
size) CONTEXT struct in an unaligned byte buffer. In this case, we
already have a fixed size CONTEXT we want to initialize, and we only
used this as a very roundabout way of zero initializing it.

Instead just memset the CONTEXT we have, and set the ContextFlags field
manually.

This matches how it is done in NativeRegisterContextWindows_*.cpp.

This also makes LLDB run successfully in Wine (for a trivial tested
case at least), as Wine hasn't implemented the InitializeContext
function.

Differential Revision: https://reviews.llvm.org/D70742
</content>
</entry>
<entry>
<title>[LLDB] [Windows] Fix Windows-specific race condition in LLDB for session lifetime</title>
<updated>2019-10-31T09:26:20+00:00</updated>
<author>
<name>Martin Storsjö</name>
<email>martin@martin.st</email>
</author>
<published>2019-10-28T08:28:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=403cd574b6d9fbdae1b39fe9d2576b02c7139486'/>
<id>urn:sha1:403cd574b6d9fbdae1b39fe9d2576b02c7139486</id>
<content type='text'>
This can e.g. happen if the debugged executable exits before the initial
stop, e.g. if it fails to load dependent DLLs.

Add a virtual destructor to ProcessDebugger and let it clean up the
session, and make ProcessWindows::OnExitProcess call
ProcessDebugger::OnExitProcess for shared parts.

Fix suggestion by Adrian McCarthy.

Differential Revision: https://reviews.llvm.org/D69503
</content>
</entry>
<entry>
<title>[LLDB] [Windows] Remove a TODO which probably won't be implemented</title>
<updated>2019-10-31T09:26:06+00:00</updated>
<author>
<name>Martin Storsjö</name>
<email>martin@martin.st</email>
</author>
<published>2019-10-31T07:46:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=a42967f63c96b30dd6873ceb7b2932eb7cf2cd05'/>
<id>urn:sha1:a42967f63c96b30dd6873ceb7b2932eb7cf2cd05</id>
<content type='text'>
Contrary to WoW64 on x86_64, there's no struct similar to WOW64_CONTEXT
defined, for storing and handling the CPU state of an ARM32 process
from an ARM64 process. Thus, making an ARM64 lldb-server able to
control ARM32 processes seems infeasible at the moment.

(The normal CONTEXT struct has a different layout on each architecture.
In addition to this, a WOW64_CONTEXT struct always is defined, that
can store the CPU state of an x86_32 process, to allow handling it from
an x86_64 process. But there's no similar universally available struct
for ARM32.)
</content>
</entry>
<entry>
<title>[LLDB] [Windows] Initial support for ARM register contexts</title>
<updated>2019-10-21T08:02:34+00:00</updated>
<author>
<name>Martin Storsjo</name>
<email>martin@martin.st</email>
</author>
<published>2019-10-21T08:02:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=a59444a35608988e727fe3761e34f1fad6097617'/>
<id>urn:sha1:a59444a35608988e727fe3761e34f1fad6097617</id>
<content type='text'>
Differential Revision: https://reviews.llvm.org/D69226

llvm-svn: 375392
</content>
</entry>
<entry>
<title>[LLDB] [Windows] Initial support for ARM64 register contexts</title>
<updated>2019-10-15T08:31:52+00:00</updated>
<author>
<name>Martin Storsjo</name>
<email>martin@martin.st</email>
</author>
<published>2019-10-15T08:31:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=b1f6ba2a2ecdf253c1ee2f2a04156eba78cfe3fa'/>
<id>urn:sha1:b1f6ba2a2ecdf253c1ee2f2a04156eba78cfe3fa</id>
<content type='text'>
Differential Revision: https://reviews.llvm.org/D67954

llvm-svn: 374866
</content>
</entry>
<entry>
<title>[Windows] Introduce a switch for the `lldb-server` mode on Windows</title>
<updated>2019-10-10T12:21:04+00:00</updated>
<author>
<name>Aleksandr Urakov</name>
<email>aleksandr.urakov@jetbrains.com</email>
</author>
<published>2019-10-10T12:21:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=0891366571b2cf3e4e27d40af228fe5bd9e4e755'/>
<id>urn:sha1:0891366571b2cf3e4e27d40af228fe5bd9e4e755</id>
<content type='text'>
Summary:
This patch introduces a switch, based on the environment variable
`LLDB_USE_LLDB_SERVER`, to determine whether to use the `ProcessWindows` plugin
(the old way) or the `lldb-server` way for debugging on Windows.

Reviewers: labath, amccarth, asmith, stella.stamenova

Reviewed By: labath, amccarth

Subscribers: mstorsjo, abidh, JDevlieghere, lldb-commits, leonid.mashinskiy

Tags: #lldb

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

llvm-svn: 374325
</content>
</entry>
<entry>
<title>[Windows] Added support of watchpoints to `NativeProcessWindows`</title>
<updated>2019-10-01T05:52:16+00:00</updated>
<author>
<name>Aleksandr Urakov</name>
<email>aleksandr.urakov@jetbrains.com</email>
</author>
<published>2019-10-01T05:52:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=5b5274eaf8c26064b6d10b43171f6252c10f576e'/>
<id>urn:sha1:5b5274eaf8c26064b6d10b43171f6252c10f576e</id>
<content type='text'>
Summary: This patch adds support of watchpoints to the new `NativeProcessWindows` plugin. The same tests as in D67168 pass with these changes when the old plugin is turned off, so they will cover this functionality when the old plugin is gone.

Reviewers: asmith, amccarth, stella.stamenova, labath

Reviewed By: labath

Subscribers: labath, jfb, JDevlieghere, lldb-commits, leonid.mashinskiy

Tags: #lldb

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

llvm-svn: 373300
</content>
</entry>
<entry>
<title>[LLDB] [Windows] Add missing ifdefs to fix building for non-x86 architectures</title>
<updated>2019-09-24T08:39:06+00:00</updated>
<author>
<name>Martin Storsjo</name>
<email>martin@martin.st</email>
</author>
<published>2019-09-24T08:39:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=02dddfd2aef3ba7696e78003947d72034beadba0'/>
<id>urn:sha1:02dddfd2aef3ba7696e78003947d72034beadba0</id>
<content type='text'>
While debugging on those architectures might not be supported yet,
the generic code should still be buildable. This file accesses x86
specific fields in the CONTEXT struct.

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

llvm-svn: 372699
</content>
</entry>
<entry>
<title>[LLDB] Use SetErrorStringWithFormatv for cases that use LLVM style format strings</title>
<updated>2019-09-21T19:10:00+00:00</updated>
<author>
<name>Martin Storsjo</name>
<email>martin@martin.st</email>
</author>
<published>2019-09-21T19:10:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=ed78dc8e4371b573e3daca3ee6d39231df218918'/>
<id>urn:sha1:ed78dc8e4371b573e3daca3ee6d39231df218918</id>
<content type='text'>
SetErrorStringWithFormat only supports normal printf style format
strings.

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

llvm-svn: 372485
</content>
</entry>
<entry>
<title>[LLDB] Use LLVM_FALLTHROUGH instead of a custom comment</title>
<updated>2019-09-21T19:09:54+00:00</updated>
<author>
<name>Martin Storsjo</name>
<email>martin@martin.st</email>
</author>
<published>2019-09-21T19:09:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=5c38730dbd002a9f669bf3fb3c0a8b19e84bdd97'/>
<id>urn:sha1:5c38730dbd002a9f669bf3fb3c0a8b19e84bdd97</id>
<content type='text'>
This fixes a warning when built with Clang in MinGW mode.

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

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