[Lldb-commits] [PATCH] D111779: [lldb] Make the thread_local g_global_boundary accessed from a single file

2021-10-13 Thread Pavel Labath via Phabricator via lldb-commits
labath accepted this revision. labath added a comment. This revision is now accepted and ready to land. Seems straight-forward enough, though I am wondering how much of this code is actually necessary given the deprecation/repurposing of reproducers. Repository: rG LLVM Github Monorepo CHANG

[Lldb-commits] [PATCH] D111355: [lldb] Add serial:// protocol for connecting to serial port [WIP/PoC]

2021-10-13 Thread Pavel Labath via Phabricator via lldb-commits
labath added a comment. This looks reasonable to me. In case the url does not specify port parameters, it might be better to set them to known sane defaults instead of leaving them unchanged. That way lldb and lldb-server could "just connect". However, I don't know much about serial ports so I'

[Lldb-commits] [PATCH] D111779: [lldb] Make the thread_local g_global_boundary accessed from a single file

2021-10-13 Thread Martin Storsjö via Phabricator via lldb-commits
mstorsjo created this revision. mstorsjo added reviewers: labath, teemperor, JDevlieghere. mstorsjo requested review of this revision. Herald added a project: LLDB. This makes the compiler generated code for accessing the thread local variable much simpler (no need for wrapper functions and weak p

[Lldb-commits] [PATCH] D108831: [lldb] [ABI/X86] Add pseudo-registers if missing

2021-10-13 Thread Pavel Labath via Phabricator via lldb-commits
labath added a comment. We don't really want to support adding an arbitrary subset of sub-registers, do we? I am thinking if this could be made simpler if it was all-or-nothing. Like, during the initial pass you could check whether the list contains _any_ subregister, and abort if it does. Then

[Lldb-commits] [PATCH] D94997: [lldb][lldb-vscode] Updated implementation of 'launch' and 'attach' requests to not create auxiliary target in case "launchCommands" and "attachCommands" are provided.

2021-10-13 Thread walter erquinigo via Phabricator via lldb-commits
wallace added inline comments. Comment at: lldb/tools/lldb-vscode/lldb-vscode.cpp:627-628 + "incompatible with 'attachCommands'.\n", arg.str().c_str()); + } +} +// Run any pre run LLDB commands the user specified in the launch.json clay

[Lldb-commits] [PATCH] D111686: Modify "statistics dump" to dump JSON.

2021-10-13 Thread walter erquinigo via Phabricator via lldb-commits
wallace added inline comments. Comment at: lldb/include/lldb/Target/Process.h:241 - void BumpStopID() { -m_stop_id++; + uint32_t BumpStopID() { +const uint32_t prev_stop_id = m_stop_id++; add a comment saying that this returns the stop id with the val

[Lldb-commits] [PATCH] D111686: Modify "statistics dump" to dump JSON.

2021-10-13 Thread Jonas Devlieghere via Phabricator via lldb-commits
JDevlieghere added a comment. I have a few comments but I think this is going in a direction that will work for both of us. Once this lands I can sign up for the work to untie the statistics form the target. Comment at: lldb/include/lldb/Target/Statistics.h:23 +struct Success

[Lldb-commits] [PATCH] D94997: [lldb][lldb-vscode] Updated implementation of 'launch' and 'attach' requests to not create auxiliary target in case "launchCommands" and "attachCommands" are provided.

2021-10-13 Thread Greg Clayton via Phabricator via lldb-commits
clayborg requested changes to this revision. clayborg added a comment. This revision now requires changes to proceed. I am fine overall with this change because of goofy things that can happen when we always create a target. We might think about returning an error if the user specifies "launchCo

[Lldb-commits] [PATCH] D111659: [lldb] Skip several lldb tests that are flaky on Windows

2021-10-13 Thread Stella Stamenova via Phabricator via lldb-commits
This revision was not accepted when it landed; it landed in state "Needs Review". This revision was automatically updated to reflect the committed changes. Closed by commit rG58917054c298: [lldb] Skip several lldb tests that are flaky on Windows (authored by stella.stamenova). Repository: rG L

[Lldb-commits] [lldb] 5891705 - [lldb] Skip several lldb tests that are flaky on Windows

2021-10-13 Thread Stella Stamenova via lldb-commits
Author: Stella Stamenova Date: 2021-10-13T09:46:41-07:00 New Revision: 58917054c29878ff3462f73b32a3e5dfa64d83f9 URL: https://github.com/llvm/llvm-project/commit/58917054c29878ff3462f73b32a3e5dfa64d83f9 DIFF: https://github.com/llvm/llvm-project/commit/58917054c29878ff3462f73b32a3e5dfa64d83f9.di

[Lldb-commits] [PATCH] D111715: [WIP] [lldb] change name demangling to be consistent between windows and linx

2021-10-13 Thread Martin Storsjö via Phabricator via lldb-commits
mstorsjo added a reviewer: thakis. mstorsjo added a subscriber: thakis. mstorsjo added a comment. The demangler change looks fine to me (but a test would indeed be necessary), but I think @thakis is the one who's been most involved with the MS demangler. Repository: rG LLVM Github Monorepo C

[Lldb-commits] [lldb] 4019699 - [lldb] Add a test for CRTP

2021-10-13 Thread Raphael Isemann via lldb-commits
Author: Raphael Isemann Date: 2021-10-13T17:15:02+02:00 New Revision: 4019699fa5fd153586f02fd7f6b7cfc51a688bf2 URL: https://github.com/llvm/llvm-project/commit/4019699fa5fd153586f02fd7f6b7cfc51a688bf2 DIFF: https://github.com/llvm/llvm-project/commit/4019699fa5fd153586f02fd7f6b7cfc51a688bf2.dif

[Lldb-commits] [PATCH] D111715: [WIP] [lldb] change name demangling to be consistent between windows and linx

2021-10-13 Thread Raphael Isemann via Phabricator via lldb-commits
teemperor added reviewers: mstorsjo, rnk. teemperor requested changes to this revision. teemperor added a comment. This revision now requires changes to proceed. Herald added a subscriber: JDevlieghere. This looks in general good to me. You probably want to add a test for this (`llvm/test/Demangl

[Lldb-commits] [PATCH] D111634: [lldb] Print embedded nuls in char arrays (PR44649)

2021-10-13 Thread Raphael Isemann via Phabricator via lldb-commits
teemperor accepted this revision. teemperor added a comment. This revision is now accepted and ready to land. LGTM Comment at: lldb/test/API/functionalities/data-formatter/stringprinter/main.cpp:40 +//% self.expect_var_path("c.data", summary=r'"F\0O"') //% self.runCmd

[Lldb-commits] [PATCH] D111715: [WIP] [lldb] change name demangling to be consistent between windows and linx

2021-10-13 Thread Lasse Folger via Phabricator via lldb-commits
lassefolger created this revision. lassefolger added reviewers: teemperor, werat. Herald added a subscriber: hiraditya. lassefolger requested review of this revision. Herald added projects: LLDB, LLVM. Herald added subscribers: llvm-commits, lldb-commits. When printing names in lldb on windows the

[Lldb-commits] [lldb] 0648b3c - [lldb][NFC] for-range loop when iterating over delayed_properties

2021-10-13 Thread Raphael Isemann via lldb-commits
Author: Raphael Isemann Date: 2021-10-13T15:27:23+02:00 New Revision: 0648b3c0265e74a6920ae356885d0c29a1f6a44e URL: https://github.com/llvm/llvm-project/commit/0648b3c0265e74a6920ae356885d0c29a1f6a44e DIFF: https://github.com/llvm/llvm-project/commit/0648b3c0265e74a6920ae356885d0c29a1f6a44e.dif

[Lldb-commits] [lldb] 7103753 - [lldb][NFC] Split out DW_TAG_inheritance parsing into own function

2021-10-13 Thread Raphael Isemann via lldb-commits
Author: Raphael Isemann Date: 2021-10-13T13:14:57+02:00 New Revision: 7103753733a83602199958fb189d24f62c7400e8 URL: https://github.com/llvm/llvm-project/commit/7103753733a83602199958fb189d24f62c7400e8 DIFF: https://github.com/llvm/llvm-project/commit/7103753733a83602199958fb189d24f62c7400e8.dif