<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm5719-llvm/lldb/source/Target, 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-10T16:52:46+00:00</updated>
<entry>
<title>Add missing nullptr checks.</title>
<updated>2020-01-10T16:52:46+00:00</updated>
<author>
<name>Adrian Prantl</name>
<email>aprantl@apple.com</email>
</author>
<published>2020-01-08T22:18:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=e9331a56fead1823d528d6412828fb9e16fd62ff'/>
<id>urn:sha1:e9331a56fead1823d528d6412828fb9e16fd62ff</id>
<content type='text'>
GetPersistentExpressionStateForLanguage() can return a nullptr if it
cannot construct a typesystem. This patch adds missing nullptr checks
at all uses.

Inspired by rdar://problem/58317195

Differential Revision: https://reviews.llvm.org/D72413
</content>
</entry>
<entry>
<title>[lldb] Modernize OptionValue::SetValueChangedCallback</title>
<updated>2020-01-09T13:17:17+00:00</updated>
<author>
<name>Pavel Labath</name>
<email>pavel@labath.sk</email>
</author>
<published>2020-01-09T13:14:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=5c4661b7784115cb330996b3a6461c5927339aef'/>
<id>urn:sha1:5c4661b7784115cb330996b3a6461c5927339aef</id>
<content type='text'>
instead of a function pointer + void*, take a std::function. This
removes a bunch of repetitive, unsafe void* casts.
</content>
</entry>
<entry>
<title>[lldb][NFC] Use static_cast instead of reinterpret_cast where possible</title>
<updated>2020-01-07T12:03:56+00:00</updated>
<author>
<name>Raphael Isemann</name>
<email>teemperor@gmail.com</email>
</author>
<published>2020-01-07T11:13:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=65fdb34219f33b2871a532a38814ac4ebea10abc'/>
<id>urn:sha1:65fdb34219f33b2871a532a38814ac4ebea10abc</id>
<content type='text'>
Summary: There are a few places in LLDB where we do a `reinterpret_cast` for conversions that we could also do with `static_cast`. This patch moves all this code to `static_cast`.

Reviewers: shafik, JDevlieghere, labath

Reviewed By: labath

Subscribers: arphaman, usaxena95, lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D72161
</content>
</entry>
<entry>
<title>[NFC] Fixes -Wrange-loop-analysis warnings</title>
<updated>2020-01-01T19:01:37+00:00</updated>
<author>
<name>Mark de Wever</name>
<email>koraq@xs4all.nl</email>
</author>
<published>2020-01-01T16:23:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=8dc7b982b4556c243e0502e6e230bdd53ddd65ff'/>
<id>urn:sha1:8dc7b982b4556c243e0502e6e230bdd53ddd65ff</id>
<content type='text'>
This avoids new warnings due to D68912 adds -Wrange-loop-analysis to -Wall.

Differential Revision: https://reviews.llvm.org/D71857
</content>
</entry>
<entry>
<title>In 'thread step-out' command, only insert a breakpoint in executable memory.</title>
<updated>2019-12-20T19:02:24+00:00</updated>
<author>
<name>Jim Ingham</name>
<email>jingham@apple.com</email>
</author>
<published>2019-12-20T19:00:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=2a42a5a2f4144cd99812ad0d230480f94a1d1c92'/>
<id>urn:sha1:2a42a5a2f4144cd99812ad0d230480f94a1d1c92</id>
<content type='text'>
Previously, if the current function had a nonstandard stack layout/ABI, and had a valid
data pointer in the location where the return address is usually located, data corruption
would occur when the breakpoint was written. This could lead to an incorrectly reported
crash or silent corruption of the program's state. Now, if the above check fails, the command safely aborts.

Differential Revision: https://reviews.llvm.org/D71372
</content>
</entry>
<entry>
<title>    ThreadPlanTracer::TracingStarted can't call virtual methods on Thread.</title>
<updated>2019-12-20T18:56:39+00:00</updated>
<author>
<name>Jim Ingham</name>
<email>jingham@apple.com</email>
</author>
<published>2019-12-20T18:56:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=810c3cfa664b38b27bc30afaadab3d775cb17922'/>
<id>urn:sha1:810c3cfa664b38b27bc30afaadab3d775cb17922</id>
<content type='text'>
    TracingStarted gets called in the Thread constructor, which means you can't
    call a virtual method of the class.  So delay setting up the m_register_values
    till you need them.  NFC as lldb just crashes if you don't do this.

    The thread tracing is an only occasionally useful feature, and it only sort
    of works.  I'm not adding tests etc. at this point, I'm just poking at it a
    bit.  If I get it working better I'll write tests and so forth.
</content>
</entry>
<entry>
<title>[lldb] Fix a -Wreturn-type warning on gcc</title>
<updated>2019-12-20T14:19:41+00:00</updated>
<author>
<name>Pavel Labath</name>
<email>pavel@labath.sk</email>
</author>
<published>2019-12-20T14:17:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=05c3b36bc9a35a8aa3ddd6a912ddceab90c39b4d'/>
<id>urn:sha1:05c3b36bc9a35a8aa3ddd6a912ddceab90c39b4d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[lldb] Remove modern-type-lookup</title>
<updated>2019-12-17T11:24:31+00:00</updated>
<author>
<name>Raphael Isemann</name>
<email>teemperor@gmail.com</email>
</author>
<published>2019-12-17T11:22:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=ff0102b32cfe506dfc16a86e38e70b0940697aa2'/>
<id>urn:sha1:ff0102b32cfe506dfc16a86e38e70b0940697aa2</id>
<content type='text'>
Summary:
As discussed on the mailing list [1] we have to make a decision for how to proceed with the modern-type-lookup.

This patch removes modern-type-lookup from LLDB. This just removes all the code behind the modern-type-lookup
setting but it does *not* remove any code from Clang (i.e., the ExternalASTMerger and the clang-import-test stay around
for now).

The motivation for this is that I don't think that the current approach of implementing modern-type-lookup
will work out. Especially creating a completely new lookup system behind some setting that is never turned on by anyone
and then one day make one big switch to the new system seems wrong. It doesn't fit into the way LLVM is developed and has
so far made the transition work much more complicated than it has to be.

A lot of the benefits that were supposed to come with the modern-type-lookup are related to having a better organization
in the way types move across LLDB and having less dependencies on unrelated LLDB code. By just looking at the current code (mostly
the ClangASTImporter) I think we can reach the same goals by just incrementally cleaning up, documenting, refactoring
and actually testing the existing code we have.

[1] http://lists.llvm.org/pipermail/lldb-dev/2019-December/015831.html

Reviewers: shafik, martong

Subscribers: rnkovacs, christof, arphaman, JDevlieghere, usaxena95, lldb-commits, friss

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D71562
</content>
</entry>
<entry>
<title>[lldb] Fix unused variable warning in ThreadPlanStepRange.cpp</title>
<updated>2019-12-17T07:53:06+00:00</updated>
<author>
<name>Raphael Isemann</name>
<email>teemperor@gmail.com</email>
</author>
<published>2019-12-17T07:53:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=3c6554be2e3c1500f825df5f7c186f2e58d6a33a'/>
<id>urn:sha1:3c6554be2e3c1500f825df5f7c186f2e58d6a33a</id>
<content type='text'>
This was added in 434905b97d961531286d4b49c7ee1969f7cbea0e.
Remove it to fix the compiler warnings for this.
</content>
</entry>
<entry>
<title>Run all threads when extending a next range over a call.</title>
<updated>2019-12-17T01:45:21+00:00</updated>
<author>
<name>Jim Ingham</name>
<email>jingham@apple.com</email>
</author>
<published>2019-12-17T01:38:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=434905b97d961531286d4b49c7ee1969f7cbea0e'/>
<id>urn:sha1:434905b97d961531286d4b49c7ee1969f7cbea0e</id>
<content type='text'>
If you don't do this you end up running arbitrary code with
only one thread allowed to run, which can cause deadlocks.

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

Differential Revision: https://reviews.llvm.org/D71440
</content>
</entry>
</feed>
