[Lldb-commits] [PATCH] D93479: [lldb] Simplify the is_finalized logic in process and make it thread safe.

2020-12-18 Thread Jonas Devlieghere via Phabricator via lldb-commits
JDevlieghere added a comment. Thanks Jim, I addressed both issues in the commit. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D93479/new/ https://reviews.llvm.org/D93479 ___ lldb-commits mailing list

[Lldb-commits] [PATCH] D93479: [lldb] Simplify the is_finalized logic in process and make it thread safe.

2020-12-18 Thread Shafik Yaghmour via Phabricator via lldb-commits
shafik added inline comments. Comment at: lldb/include/lldb/Target/Process.h:2837 + /// from looking up or creating things during or after a finalize call. + std::atomic m_finalizing; + ``` std::atomic m_finalizing{false}; ``` honestly the whole thing should

[Lldb-commits] [PATCH] D93479: [lldb] Simplify the is_finalized logic in process and make it thread safe.

2020-12-18 Thread Jonas Devlieghere via Phabricator via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rGa913a583f00a: [lldb] Simplify the is_finalized logic in process and make it thread safe. (authored by JDevlieghere). Herald added a project: LLDB. Changed prior to commit:

[Lldb-commits] [lldb] a913a58 - [lldb] Simplify the is_finalized logic in process and make it thread safe.

2020-12-18 Thread Jonas Devlieghere via lldb-commits
Author: Jonas Devlieghere Date: 2020-12-18T18:41:33-08:00 New Revision: a913a583f00a31c37a1572089fe8898a6c19536c URL: https://github.com/llvm/llvm-project/commit/a913a583f00a31c37a1572089fe8898a6c19536c DIFF:

[Lldb-commits] [PATCH] D93479: [lldb] Simplify the is_finalized logic in process and make it thread safe.

2020-12-18 Thread Jim Ingham via Phabricator via lldb-commits
jingham accepted this revision. jingham added a comment. This revision is now accepted and ready to land. LGTM. It looks like we never made use of the distinction between "started to finalize" and "done finalizing", so just marking it at the start of finalization seems fine. I quibble a bit

[Lldb-commits] [PATCH] D93421: Fix how ValueObject deals with getting unsigned values

2020-12-18 Thread Shafik Yaghmour via Phabricator via lldb-commits
shafik updated this revision to Diff 312904. shafik marked 2 inline comments as done. shafik added a comment. - Fixed formatters::ObjCBOOLSummaryProvider to use int8_t and fixed the Printf - Updated tests CHANGES SINCE LAST ACTION https://reviews.llvm.org/D93421/new/

[Lldb-commits] [PATCH] D93421: Fix how ValueObject deals with getting unsigned values

2020-12-18 Thread Shafik Yaghmour via Phabricator via lldb-commits
shafik marked 4 inline comments as done. shafik added inline comments. Comment at: lldb/source/Plugins/Language/ObjC/Cocoa.cpp:1038 } - uint8_t value = (real_guy_sp->GetValueAsUnsigned(0) & 0xFF); + uint8_t value = (real_guy_sp->GetValueAsSigned(0) & 0xFF); switch

[Lldb-commits] [PATCH] D92164: Make CommandInterpreter's execution context the same as debugger's one.

2020-12-18 Thread Pavel Labath via Phabricator via lldb-commits
labath added a comment. With this version of the patch, I am unable to reproduce the issue using the approach I described in the previous comment. However, it still reproduces when issuing the equivalent commands via the "gui" (either "by hand" or by running TestGuiBasicDebug.py). CHANGES

[Lldb-commits] [PATCH] D93481: [lldb/Lua] add support for multiline scripted breakpoints

2020-12-18 Thread Jonas Devlieghere via Phabricator via lldb-commits
JDevlieghere added a comment. Thanks Pedro, it's really great to see the Lua interpreter getting all these improvements! Comment at: lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.cpp:62 +case eIOHandlerWatchpoint: + break; +case

[Lldb-commits] [PATCH] D93541: [Process/NetBSD] Copy changes from FreeBSDRemote and reformat [WIP]

2020-12-18 Thread Michał Górny via Phabricator via lldb-commits
mgorny created this revision. mgorny added reviewers: labath, krytarowski. Herald added a subscriber: pengfei. mgorny requested review of this revision. Copy changes, including: - NativeProcessNetBSD::GetLoadedModuleFileSpec() and NativeProcessNetBSD::GetFileLoadAddress() methods - split x86

[Lldb-commits] [PATCH] D93421: Fix how ValueObject deals with getting unsigned values

2020-12-18 Thread Raphael Isemann via Phabricator via lldb-commits
teemperor requested changes to this revision. teemperor added a comment. This revision now requires changes to proceed. Some comments about that this still prints 255, but otherwise this is looking good. (For the others: We agreed offline that adding the missing type checking for BOOL is out

[Lldb-commits] [PATCH] D92164: Make CommandInterpreter's execution context the same as debugger's one.

2020-12-18 Thread Tatyana Krasnukha via Phabricator via lldb-commits
tatyana-krasnukha updated this revision to Diff 312770. tatyana-krasnukha added a comment. Fixed CommandInterpreter::GetProcessOutput to avoid deadlock in Windows process plugin. This should also fix the problem @labath described above. Pavel, could you please check whether it works for you?

[Lldb-commits] [lldb] 430d5d8 - [LLDB] Unbreak the build after recent clang changes

2020-12-18 Thread David Zarzycki via lldb-commits
Author: David Zarzycki Date: 2020-12-18T07:54:36-05:00 New Revision: 430d5d8429473c2b10b109991d7577a3cea41140 URL: https://github.com/llvm/llvm-project/commit/430d5d8429473c2b10b109991d7577a3cea41140 DIFF:

[Lldb-commits] [lldb] c15c296 - [lldb/test] Reduce boilerplate in lldb-server tests

2020-12-18 Thread Pavel Labath via lldb-commits
Author: Pavel Labath Date: 2020-12-18T13:01:42+01:00 New Revision: c15c29652118292c389d5f9fde1b11b55c248cd9 URL: https://github.com/llvm/llvm-project/commit/c15c29652118292c389d5f9fde1b11b55c248cd9 DIFF: https://github.com/llvm/llvm-project/commit/c15c29652118292c389d5f9fde1b11b55c248cd9.diff

[Lldb-commits] [PATCH] D93495: CrashReason: Add MTE tag check faults to the list of crash reasons.

2020-12-18 Thread David Spickett via Phabricator via lldb-commits
DavidSpickett added a comment. I assume that the signal displays without tag bits just like any other SEGV? I was thinking about testing but I don't see any tests for specific signals so it would only be needed if your change to add the tag bits to siginfo has gone in. (I have been following

[Lldb-commits] [PATCH] D93225: [lldb] Add helper class for dealing with key:value; GDB responses

2020-12-18 Thread David Spickett via Phabricator via lldb-commits
DavidSpickett planned changes to this revision. DavidSpickett added a comment. > Have you looked at the how llvm YAML and JSON libraries handle > (de)serialization? I was hoping that we could implement something similar to > that... Good point, I was only looking at half the issue. I'll see