[Lldb-commits] [lldb] [LLDB] Add formatters for MSVC STL std::(forward_)list (PR #148285)

2025-07-15 Thread Michael Buch via lldb-commits
@@ -1501,22 +1499,19 @@ static void LoadLibStdcppFormatters(lldb::TypeCategoryImplSP cpp_category_sp) { "^std::(__debug::)?unordered_(multi)?(map|set)<.+> >$", stl_summary_flags, true); - AddCXXSummary(cpp_category_sp, -lldb_pr

[Lldb-commits] [lldb] [LLDB] Add formatters for MSVC STL std::(forward_)list (PR #148285)

2025-07-15 Thread Michael Buch via lldb-commits
@@ -1642,19 +1662,34 @@ static void LoadCommonStlFormatters(lldb::TypeCategoryImplSP cpp_category_sp) { }, "MSVC STL/libstdc++ std::wstring summary provider")); + stl_summary_flags.SetDontShowChildren(false); + stl_summary_flags.SetSkipPointers(false); +

[Lldb-commits] [lldb] [LLDB] Add formatters for MSVC STL std::(forward_)list (PR #148285)

2025-07-15 Thread Michael Buch via lldb-commits
https://github.com/Michael137 approved this pull request. Modulo my last set of comments, LGTM https://github.com/llvm/llvm-project/pull/148285 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/ll

[Lldb-commits] [lldb] [LLDB] Add formatters for MSVC STL std::tuple (PR #148548)

2025-07-15 Thread Michael Buch via lldb-commits
@@ -1656,9 +1658,6 @@ static void LoadCommonStlFormatters(lldb::TypeCategoryImplSP cpp_category_sp) { }, "MSVC STL/libstdc++ std::wstring summary provider")); - stl_summary_flags.SetDontShowChildren(false); Michael137 wrote: Why did thes

[Lldb-commits] [lldb] [LLDB] Add formatters for MSVC STL std::vector (PR #147538)

2025-07-15 Thread Michael Buch via lldb-commits
@@ -0,0 +1,297 @@ +//===-- MsvcStlVector.cpp -===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Ap

[Lldb-commits] [lldb] [LLDB] Add formatters for MSVC STL std::vector (PR #147538)

2025-07-15 Thread Michael Buch via lldb-commits
@@ -0,0 +1,297 @@ +//===-- MsvcStlVector.cpp -===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Ap

[Lldb-commits] [lldb] [lldb] Document MCP tools & resources (PR #148708)

2025-07-15 Thread David Spickett via lldb-commits
@@ -75,7 +75,69 @@ Configuration example for [Visual Studio Code](https://code.visualstudio.com/doc } ``` -### Troubleshooting +## Tools + +Tools are a primitive in the Model Context Protocol that enable servers to +expose functionality to clients. + +LLDB's MCP integration e

[Lldb-commits] [lldb] [lldb] Document MCP tools & resources (PR #148708)

2025-07-15 Thread David Spickett via lldb-commits
@@ -75,7 +75,69 @@ Configuration example for [Visual Studio Code](https://code.visualstudio.com/doc } ``` -### Troubleshooting +## Tools + +Tools are a primitive in the Model Context Protocol that enable servers to +expose functionality to clients. + +LLDB's MCP integration e

[Lldb-commits] [lldb] [lldb] Document MCP tools & resources (PR #148708)

2025-07-15 Thread David Spickett via lldb-commits
@@ -75,7 +75,69 @@ Configuration example for [Visual Studio Code](https://code.visualstudio.com/doc } ``` -### Troubleshooting +## Tools + +Tools are a primitive in the Model Context Protocol that enable servers to +expose functionality to clients. + +LLDB's MCP integration e

[Lldb-commits] [lldb] [lldb] Improve setting of program for filtering disassembly (PR #148823)

2025-07-15 Thread David Spickett via lldb-commits
https://github.com/DavidSpickett updated https://github.com/llvm/llvm-project/pull/148823 >From ba64d72e000bd14125b202a70bd7d34831e12cc0 Mon Sep 17 00:00:00 2001 From: David Spickett Date: Tue, 15 Jul 2025 10:30:21 + Subject: [PATCH] [lldb] Improve setting of program for filtering disassemb

[Lldb-commits] [clang] [clang-tools-extra] [lldb] [clang] Extend SourceLocation to 64 bits. (PR #147292)

2025-07-15 Thread Aaron Ballman via lldb-commits
AaronBallman wrote: Hello all! There was a request to hold a Clang Area Team discussion about this topic, which is scheduled for [Thur Jul 17 at 4pm Eastern Time](https://www.timeanddate.com/worldclock/converter.html?iso=20250717T20&p1=1440&p2=1241&p3=4747&p4=195). Link to the meeting tele

[Lldb-commits] [lldb] a64bfd8 - [lldb] Fix Disasembler build error on 32-bit systems

2025-07-15 Thread David Spickett via lldb-commits
Author: David Spickett Date: 2025-07-15T09:54:58Z New Revision: a64bfd8a5186bc5b967878689509db81b9d1922c URL: https://github.com/llvm/llvm-project/commit/a64bfd8a5186bc5b967878689509db81b9d1922c DIFF: https://github.com/llvm/llvm-project/commit/a64bfd8a5186bc5b967878689509db81b9d1922c.diff LOG

[Lldb-commits] [lldb] [LLDB] Add formatters for MSVC STL std::vector (PR #147538)

2025-07-15 Thread Michael Buch via lldb-commits
@@ -0,0 +1,297 @@ +//===-- MsvcStlVector.cpp -===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Ap

[Lldb-commits] [lldb] [LLDB] Add formatters for MSVC STL std::vector (PR #147538)

2025-07-15 Thread Michael Buch via lldb-commits
@@ -0,0 +1,297 @@ +//===-- MsvcStlVector.cpp -===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Ap

[Lldb-commits] [lldb] [LLDB] Add formatters for MSVC STL std::(forward_)list (PR #148285)

2025-07-15 Thread via lldb-commits
https://github.com/Nerixyz updated https://github.com/llvm/llvm-project/pull/148285 >From 104fbb9daa6ea0d4483939662ae08a8d42d77f44 Mon Sep 17 00:00:00 2001 From: Nerixyz Date: Fri, 11 Jul 2025 22:06:47 +0200 Subject: [PATCH 1/3] [LLDB] Add formatters for MSVC STL std::(forward_)list --- lldb/

[Lldb-commits] [lldb] f5c676d - [LLDB] Switch to using DIL as default implementation for 'frame var'. (#147887)

2025-07-15 Thread via lldb-commits
Author: cmtice Date: 2025-07-15T08:19:10-07:00 New Revision: f5c676d6d95dc63b8dcb43dd2e4dfc913a9c5a50 URL: https://github.com/llvm/llvm-project/commit/f5c676d6d95dc63b8dcb43dd2e4dfc913a9c5a50 DIFF: https://github.com/llvm/llvm-project/commit/f5c676d6d95dc63b8dcb43dd2e4dfc913a9c5a50.diff LOG: [

[Lldb-commits] [lldb] [llvm] [LLDB] Switch to using DIL as default implementation for 'frame var'. (PR #147887)

2025-07-15 Thread via lldb-commits
https://github.com/cmtice closed https://github.com/llvm/llvm-project/pull/147887 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [LLDB] Add formatters for MSVC STL std::(forward_)list (PR #148285)

2025-07-15 Thread Michael Buch via lldb-commits
@@ -1642,19 +1662,34 @@ static void LoadCommonStlFormatters(lldb::TypeCategoryImplSP cpp_category_sp) { }, "MSVC STL/libstdc++ std::wstring summary provider")); + stl_summary_flags.SetDontShowChildren(false); + stl_summary_flags.SetSkipPointers(false); +

[Lldb-commits] [lldb] [lldb-dap] persistent assembly breakpoints (PR #148061)

2025-07-15 Thread Ebuka Ezike via lldb-commits
da-viper wrote: >From the issue, we can have persistent assembly source breakpoint if it is set >from the disassembly view. We only create sourceReference and virtual disassembly file if there is no source file for that frame. we can store the necessary information in the adapter data to re

[Lldb-commits] [lldb] [lldb-dap] Re-land refactor of DebugCommunication. (PR #147787)

2025-07-15 Thread Ebuka Ezike via lldb-commits
@@ -152,25 +189,41 @@ def __init__( self.log_file = log_file self.send = send self.recv = recv -self.recv_packets: list[Optional[ProtocolMessage]] = [] -self.recv_condition = threading.Condition() -self.recv_thread = threading.Thr

[Lldb-commits] [lldb] [lldb-dap] Re-land refactor of DebugCommunication. (PR #147787)

2025-07-15 Thread Ebuka Ezike via lldb-commits
@@ -1141,15 +1253,22 @@ def request_completions(self, text, frameId=None): "type": "request", "arguments": args_dict, } -return self.send_recv(command_dict) - -def request_modules(self, startModule: int, moduleCount: int): -re

[Lldb-commits] [lldb] [lldb-dap] Re-land refactor of DebugCommunication. (PR #147787)

2025-07-15 Thread Ebuka Ezike via lldb-commits
@@ -188,267 +241,326 @@ def validate_response(cls, command, response): ) def _read_packet_thread(self): -done = False try: -while not done: +while True: packet = read_packet(self.recv, trace_file=self.tr

[Lldb-commits] [lldb] [lldb-dap] Re-land refactor of DebugCommunication. (PR #147787)

2025-07-15 Thread Ebuka Ezike via lldb-commits
@@ -1141,15 +1253,22 @@ def request_completions(self, text, frameId=None): "type": "request", "arguments": args_dict, } -return self.send_recv(command_dict) - -def request_modules(self, startModule: int, moduleCount: int): -re

[Lldb-commits] [lldb] [lldb-dap] Re-land refactor of DebugCommunication. (PR #147787)

2025-07-15 Thread Ebuka Ezike via lldb-commits
@@ -188,267 +241,326 @@ def validate_response(cls, command, response): ) def _read_packet_thread(self): -done = False try: -while not done: +while True: packet = read_packet(self.recv, trace_file=self.tr

[Lldb-commits] [lldb] [LLDB] Add formatters for MSVC STL std::(forward_)list (PR #148285)

2025-07-15 Thread via lldb-commits
https://github.com/Nerixyz edited https://github.com/llvm/llvm-project/pull/148285 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] Fix a deadlock in ModuleList when starting a standalone lldb client/server (PR #148774)

2025-07-15 Thread via lldb-commits
https://github.com/jimingham approved this pull request. Thanks for catching this. Keeping the module list locked too long is one of the easiest ways to produce deadlocks in lldb at present! I can't see a reason why the work done when lldb is notified of a new module should require that the m

[Lldb-commits] [lldb] [lldb] Add completions for plugin list/enable/disable (PR #147775)

2025-07-15 Thread David Peixotto via lldb-commits
@@ -1321,10 +1321,11 @@ enum CompletionType { eTypeCategoryNameCompletion = (1ul << 24), eCustomCompletion = (1ul << 25), eThreadIDCompletion = (1ul << 26), + eManagedPluginCompletion = (1ul << 27), // This last enum element is just for input validation. // Add new

[Lldb-commits] [lldb] fccae85 - [lldb] Add completions for plugin list/enable/disable (#147775)

2025-07-15 Thread via lldb-commits
Author: David Peixotto Date: 2025-07-15T12:44:00-07:00 New Revision: fccae859bc949ba390184614e07234267a734b86 URL: https://github.com/llvm/llvm-project/commit/fccae859bc949ba390184614e07234267a734b86 DIFF: https://github.com/llvm/llvm-project/commit/fccae859bc949ba390184614e07234267a734b86.diff

[Lldb-commits] [lldb] [lldb] Fix plugin test to not rely on enabled targets (PR #148956)

2025-07-15 Thread David Peixotto via lldb-commits
https://github.com/dmpots created https://github.com/llvm/llvm-project/pull/148956 The plugins completion test was checking completions for the abi plugins. But the available abi plugins will depend on which [targets](https://github.com/llvm/llvm-project/blob/42d2ae1034b287eb60563c370dbf52c59b

[Lldb-commits] [lldb] [lldb] Fix plugin test to not rely on enabled targets (PR #148956)

2025-07-15 Thread David Peixotto via lldb-commits
dmpots wrote: This is to fix a buildbot failure: https://lab.llvm.org/buildbot/#/builders/195/builds/11884 https://github.com/llvm/llvm-project/pull/148956 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailma

[Lldb-commits] [lldb] [lldb] Fix plugin test to not rely on enabled targets (PR #148956)

2025-07-15 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: David Peixotto (dmpots) Changes The plugins completion test was checking completions for the abi plugins. But the available abi plugins will depend on which [targets](https://github.com/llvm/llvm-project/blob/42d2ae1034b287eb60563c370dbf52

[Lldb-commits] [lldb] [lldb] Add completions for plugin list/enable/disable (PR #147775)

2025-07-15 Thread David Peixotto via lldb-commits
dmpots wrote: Follow up PR to fix a buildbot failure: #148956 https://github.com/llvm/llvm-project/pull/147775 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb][rpc] Use Clang attributes to keep track of pointer plus len (PR #148981)

2025-07-15 Thread Chelsea Cassanova via lldb-commits
https://github.com/chelcassanova created https://github.com/llvm/llvm-project/pull/148981 In LLDB RPC, we need to keep track of methods that have a pointer parameter followed by a lengtgh parameter as these parameters need some exceptions when they're being emitted by lldb-rpc-gen. Previously,

[Lldb-commits] [lldb] [lldb][rpc] Use Clang attributes to keep track of pointer plus len (PR #148981)

2025-07-15 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Chelsea Cassanova (chelcassanova) Changes In LLDB RPC, we need to keep track of methods that have a pointer parameter followed by a lengtgh parameter as these parameters need some exceptions when they're being emitted by lldb-rpc-gen. Prev

[Lldb-commits] [lldb] Add new "target module replace" command (PR #148735)

2025-07-15 Thread satyanarayana reddy janga via lldb-commits
https://github.com/satyajanga updated https://github.com/llvm/llvm-project/pull/148735 >From c021e054277a590901012e6c9fcdcff8fedf9867 Mon Sep 17 00:00:00 2001 From: Jeffrey Tan Date: Wed, 21 Jul 2021 13:32:56 -0700 Subject: [PATCH] Add new "target module replace" command Summary: For dump debu

[Lldb-commits] [lldb] [lldb] Fix a crash in lldb-server during RemoveSoftwareBreakpoint() (PR #148738)

2025-07-15 Thread via lldb-commits
https://github.com/royitaqi updated https://github.com/llvm/llvm-project/pull/148738 >From 890eb98ceada6495f6a089f7f0a4823b7369d2ec Mon Sep 17 00:00:00 2001 From: royshi Date: Mon, 14 Jul 2025 13:45:13 -0700 Subject: [PATCH 1/2] [lldb] Fix a crash in lldb-server during RemoveSoftwareBreakpoint

[Lldb-commits] [lldb] [LLDB] Disable DIL QualifiedId test on Windows. (PR #148940)

2025-07-15 Thread via lldb-commits
https://github.com/cmtice created https://github.com/llvm/llvm-project/pull/148940 The lldb-x86_64-win buildbot is failing on this one DIL test. Disable the test on Windows until we can debug it on Windows. >From 83094baf1eb1969e66c1a458ef7c29d2b1c3ef7f Mon Sep 17 00:00:00 2001 From: Caroline

[Lldb-commits] [lldb] [LLDB] Disable DIL QualifiedId test on Windows. (PR #148940)

2025-07-15 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: None (cmtice) Changes The lldb-x86_64-win buildbot is failing on this one DIL test. Disable the test on Windows until we can debug it on Windows. --- Full diff: https://github.com/llvm/llvm-project/pull/148940.diff 1 Files Affected: - (

[Lldb-commits] [clang] [clang-tools-extra] [lldb] [llvm] [clang][modules] Serialize `CodeGenOptions` (PR #146422)

2025-07-15 Thread Jan Svoboda via lldb-commits
jansvoboda11 wrote: Windows CI failure look unrelated. https://github.com/llvm/llvm-project/pull/146422 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [llvm] [LLDB] Switch to using DIL as default implementation for 'frame var'. (PR #147887)

2025-07-15 Thread via lldb-commits
https://github.com/cmtice updated https://github.com/llvm/llvm-project/pull/147887 >From 3dbe09deb36a44eb056fa2d3d7dacd341e391697 Mon Sep 17 00:00:00 2001 From: Caroline Tice Date: Wed, 9 Jul 2025 20:42:03 -0700 Subject: [PATCH 1/4] [LLDB] Switch to using DIL as default implementation for 'fra

[Lldb-commits] [lldb] [lldb] Convert registers values into target endian for expressions (PR #148836)

2025-07-15 Thread David Spickett via lldb-commits
https://github.com/DavidSpickett created https://github.com/llvm/llvm-project/pull/148836 Relates to https://github.com/llvm/llvm-project/issues/135707 Where it was reported that reading the PC using "register read" had different results to an expression "$pc". This was happening because regi

[Lldb-commits] [lldb] [lldb] Convert registers values into target endian for expressions (PR #148836)

2025-07-15 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: David Spickett (DavidSpickett) Changes Relates to https://github.com/llvm/llvm-project/issues/135707 Where it was reported that reading the PC using "register read" had different results to an expression "$pc". This was happening because

[Lldb-commits] [lldb] [LLDB] Add formatters for MSVC STL std::vector (PR #147538)

2025-07-15 Thread via lldb-commits
https://github.com/Nerixyz updated https://github.com/llvm/llvm-project/pull/147538 >From 2ca001ffd2c84410877680d832af2effbc560dde Mon Sep 17 00:00:00 2001 From: Nerixyz Date: Sat, 21 Jun 2025 17:35:23 +0200 Subject: [PATCH 1/2] [LLDB] Add formatters for MSVC STL std::vector --- .../Plugins/L

[Lldb-commits] [lldb] [lldb] Convert registers values into target endian for expressions (PR #148836)

2025-07-15 Thread David Spickett via lldb-commits
@@ -1376,29 +1376,26 @@ class EntityRegister : public Materializer::Entity { return; } -DataExtractor register_data; - -if (!reg_value.GetData(register_data)) { - err = Status::FromErrorStringWithFormat( - "couldn't get the data for register %s"

[Lldb-commits] [lldb] [lldb] Implement RISCV function unwinding using instruction emulation (PR #147434)

2025-07-15 Thread satyanarayana reddy janga via lldb-commits
https://github.com/satyajanga converted_to_draft https://github.com/llvm/llvm-project/pull/147434 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] Implement RISCV function unwinding using instruction emulation (PR #147434)

2025-07-15 Thread Greg Clayton via lldb-commits
@@ -57,11 +57,12 @@ class EmulateInstructionRISCV : public EmulateInstruction { static bool SupportsThisInstructionType(InstructionType inst_type) { switch (inst_type) { -case eInstructionTypeAny: -case eInstructionTypePCModifying: +case lldb_private::eInstru

[Lldb-commits] [lldb] Fix a deadlock in ModuleList when starting a standalone lldb client/server (PR #148774)

2025-07-15 Thread David Peixotto via lldb-commits
dmpots wrote: Would it be possible to add a test that triggers this bug? It looks like a fairly simple scenario that launches lldb-server and then attaches to it. Seems like good coverage to have in the test if we don't already. Also, is this a 100% reproducable deadlock or is it somewhat non-

[Lldb-commits] [lldb] [lldb] Implement RISCV function unwinding using instruction emulation (PR #147434)

2025-07-15 Thread Greg Clayton via lldb-commits
clayborg wrote: > > Unfortunately there is no easy way to add testing for this. No RISCV > > hardware at the disposal. I welcome the suggestions. > > Make a core file that does not include any internal data and then it can be > tested on any system. If you have to satisfy internal policies aro

[Lldb-commits] [lldb] [lldb][NFC] Small fixes identified by the clang static analyzer (PR #148773)

2025-07-15 Thread Dave Lee via lldb-commits
@@ -289,12 +286,8 @@ void LanguageRuntime::InitializeCommands(CommandObject *parent) { if (!parent->IsMultiwordObject()) return; - LanguageRuntimeCreateInstance create_callback; - for (uint32_t idx = 0; - (create_callback = -PluginManager::GetLangu

[Lldb-commits] [lldb] [lldb] Improve setting of program for filtering disassembly (PR #148823)

2025-07-15 Thread via lldb-commits
https://github.com/tedwoodward approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/148823 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [LLDB] Add formatters for MSVC STL std::(forward_)list (PR #148285)

2025-07-15 Thread via lldb-commits
@@ -1642,19 +1662,34 @@ static void LoadCommonStlFormatters(lldb::TypeCategoryImplSP cpp_category_sp) { }, "MSVC STL/libstdc++ std::wstring summary provider")); + stl_summary_flags.SetDontShowChildren(false); + stl_summary_flags.SetSkipPointers(false); +

[Lldb-commits] [lldb] [lldb][framework] Glob headers from source for framework (PR #148736)

2025-07-15 Thread Chelsea Cassanova via lldb-commits
@@ -106,17 +112,17 @@ add_dependencies(liblldb-resource-headers liblldb-header-staging) add_dependencies(liblldb liblldb-resource-headers) # Take the headers from the staging directory and fix up their includes for the framework. -# Then write them to the output directory. +

[Lldb-commits] [lldb] [lldb] Add completions for plugin list/enable/disable (PR #147775)

2025-07-15 Thread Greg Clayton via lldb-commits
https://github.com/clayborg approved this pull request. https://github.com/llvm/llvm-project/pull/147775 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] Add completions for plugin list/enable/disable (PR #147775)

2025-07-15 Thread Greg Clayton via lldb-commits
@@ -1321,10 +1321,11 @@ enum CompletionType { eTypeCategoryNameCompletion = (1ul << 24), eCustomCompletion = (1ul << 25), eThreadIDCompletion = (1ul << 26), + eManagedPluginCompletion = (1ul << 27), // This last enum element is just for input validation. // Add new

[Lldb-commits] [lldb] [LLDB] Fix Memory64 BaseRVA, move all non-stack memory to Mem64. (PR #146777)

2025-07-15 Thread Jacob Lalonde via lldb-commits
https://github.com/Jlalond updated https://github.com/llvm/llvm-project/pull/146777 >From d17473cc32acb31935759012ca87342d750d68f7 Mon Sep 17 00:00:00 2001 From: Jacob Lalonde Date: Wed, 2 Jul 2025 09:18:59 -0700 Subject: [PATCH 01/16] Fix logs, prevent accidentally printing a partial read whe

[Lldb-commits] [lldb] [LLDB] Add formatters for MSVC STL std::vector (PR #147538)

2025-07-15 Thread Michael Buch via lldb-commits
https://github.com/Michael137 approved this pull request. https://github.com/llvm/llvm-project/pull/147538 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [LLDB] Add formatters for MSVC STL std::tuple (PR #148548)

2025-07-15 Thread Michael Buch via lldb-commits
https://github.com/Michael137 closed https://github.com/llvm/llvm-project/pull/148548 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] eec98be - [LLDB] Add formatters for MSVC STL std::tuple (#148548)

2025-07-15 Thread via lldb-commits
Author: nerix Date: 2025-07-15T17:17:28+01:00 New Revision: eec98bef84b8a68533d9176468c1d2010f26717f URL: https://github.com/llvm/llvm-project/commit/eec98bef84b8a68533d9176468c1d2010f26717f DIFF: https://github.com/llvm/llvm-project/commit/eec98bef84b8a68533d9176468c1d2010f26717f.diff LOG: [L

[Lldb-commits] [lldb] [LLDB] Add formatters for MSVC STL std::tuple (PR #148548)

2025-07-15 Thread Michael Buch via lldb-commits
https://github.com/Michael137 approved this pull request. https://github.com/llvm/llvm-project/pull/148548 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] Fix a deadlock in ModuleList when starting a standalone lldb client/server (PR #148774)

2025-07-15 Thread Greg Clayton via lldb-commits
https://github.com/clayborg commented: This patch looks good to me unless we are trying to protect the ModuleList contents during the notification to ensure it doesn't change before the notification has been delivered. Jim and Jonas? Thoughts? https://github.com/llvm/llvm-project/pull/148774 _

[Lldb-commits] [lldb] [LLDB] Add formatters for MSVC STL std::vector (PR #147538)

2025-07-15 Thread via lldb-commits
https://github.com/Nerixyz updated https://github.com/llvm/llvm-project/pull/147538 >From d8a898b9a3f6b16d551baa7253344402d75ca4d8 Mon Sep 17 00:00:00 2001 From: Nerixyz Date: Sat, 21 Jun 2025 17:35:23 +0200 Subject: [PATCH 1/2] [LLDB] Add formatters for MSVC STL std::vector --- .../Plugins/L

[Lldb-commits] [lldb] [lldb] Fix race condition in Process::WaitForProcessToStop() (PR #144919)

2025-07-15 Thread via lldb-commits
athierry-oct wrote: @jimingham Yes can you revert it please, while I figure this out? Thank you https://github.com/llvm/llvm-project/pull/144919 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/

[Lldb-commits] [lldb] bcd0a7a - Revert "[lldb] Fix race condition in Process::WaitForProcessToStop() … (#148915)

2025-07-15 Thread via lldb-commits
Author: jimingham Date: 2025-07-15T11:04:04-07:00 New Revision: bcd0a7ae2a3ae81545190a0b2796eb63656b5d42 URL: https://github.com/llvm/llvm-project/commit/bcd0a7ae2a3ae81545190a0b2796eb63656b5d42 DIFF: https://github.com/llvm/llvm-project/commit/bcd0a7ae2a3ae81545190a0b2796eb63656b5d42.diff LOG

[Lldb-commits] [lldb] Revert "[lldb] Fix race condition in Process::WaitForProcessToStop() … (PR #148915)

2025-07-15 Thread via lldb-commits
https://github.com/jimingham closed https://github.com/llvm/llvm-project/pull/148915 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] Revert "[lldb] Fix race condition in Process::WaitForProcessToStop() … (PR #148915)

2025-07-15 Thread via lldb-commits
https://github.com/jimingham created https://github.com/llvm/llvm-project/pull/148915 …(#144919)" This was causing a couple of failures on the Ubuntu bots. Reverting while we wait on a fix for those issues. This reverts commit 8612926c306c5191a5fb385dd11467728c59e982. >From f7ebd7ec19a2099e6

[Lldb-commits] [lldb] [lldb] Fix race condition in Process::WaitForProcessToStop() (PR #144919)

2025-07-15 Thread via lldb-commits
jimingham wrote: The revert was: https://github.com/llvm/llvm-project/pull/148915 Good hunting! https://github.com/llvm/llvm-project/pull/144919 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo

[Lldb-commits] [lldb] [lldb] Document MCP tools & resources (PR #148708)

2025-07-15 Thread Jonas Devlieghere via lldb-commits
https://github.com/JDevlieghere edited https://github.com/llvm/llvm-project/pull/148708 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] Fix race condition in Process::WaitForProcessToStop() (PR #144919)

2025-07-15 Thread via lldb-commits
jimingham wrote: @athierry-oct - this patch seems to have caused some failures on the ubuntu bot. If you think you can resolve those failures quickly, then please do. If you aren't able to do that give me a ping and I'll revert this till you can figure this out. https://github.com/llvm/llvm

[Lldb-commits] [clang] [clang-tools-extra] [lldb] [llvm] [clang][modules] Serialize `CodeGenOptions` (PR #146422)

2025-07-15 Thread Jan Svoboda via lldb-commits
@@ -46,13 +46,32 @@ class CodeGenOptionsBase { enum class CompatibilityKind { /// Does affect the construction of the AST in a way that does prevent /// module interoperability. -Affecting, +NotCompatible, +/// Does affect the construction of the AST in a

[Lldb-commits] [clang] [clang-tools-extra] [lldb] [llvm] [clang][modules] Serialize `CodeGenOptions` (PR #146422)

2025-07-15 Thread Jan Svoboda via lldb-commits
@@ -36,13 +36,13 @@ void CodeGenOptions::resetNonModularOptions(StringRef ModuleFormat) { // emitted into the PCM (-gmodules). if (ModuleFormat == "raw" && !DebugTypeExtRefs) { #define DEBUGOPT(Name, Bits, Default, Compatibility) \ - if constexp

[Lldb-commits] [lldb] Fix a deadlock in ModuleList when starting a standalone lldb client/server (PR #148774)

2025-07-15 Thread via lldb-commits
jimingham wrote: Actually, the test will be a little harder than that because the deadlock comes between the main lldb work and async work done by the status line. So my test, which just runs lldb in Python, wouldn't have shown that error. I wonder if it would be possible to have a version of

[Lldb-commits] [clang] [clang-tools-extra] [lldb] [llvm] [clang][modules] Serialize `CodeGenOptions` (PR #146422)

2025-07-15 Thread Jan Svoboda via lldb-commits
https://github.com/jansvoboda11 updated https://github.com/llvm/llvm-project/pull/146422 >From 69049bfcd81134f3787d1ee14ab3e5c6d91eb87d Mon Sep 17 00:00:00 2001 From: Jan Svoboda Date: Thu, 3 Jul 2025 12:46:58 -0700 Subject: [PATCH 1/4] [clang][modules] Serialize `CodeGenOptions` --- clang-to

[Lldb-commits] [lldb] [LLDB] Add formatters for MSVC STL std::vector (PR #147538)

2025-07-15 Thread via lldb-commits
https://github.com/Nerixyz updated https://github.com/llvm/llvm-project/pull/147538 >From 9f719389412467375cbd4c51ec970fc16da3d54d Mon Sep 17 00:00:00 2001 From: Nerixyz Date: Sat, 21 Jun 2025 17:35:23 +0200 Subject: [PATCH 1/3] [LLDB] Add formatters for MSVC STL std::vector --- .../Plugins/L

[Lldb-commits] [clang] [clang-tools-extra] [lldb] [llvm] [clang][modules] Serialize `CodeGenOptions` (PR #146422)

2025-07-15 Thread Ben Langmuir via lldb-commits
https://github.com/benlangmuir approved this pull request. LGTM, thanks! https://github.com/llvm/llvm-project/pull/146422 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [LLDB] Compile API tests with exceptions enabled on Windows (PR #148691)

2025-07-15 Thread via lldb-commits
Nerixyz wrote: I can't merge this on my own, could you merge this for me please? @JDevlieghere https://github.com/llvm/llvm-project/pull/148691 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/l

[Lldb-commits] [lldb] 95fa676 - [LLDB] Compile API tests with exceptions enabled on Windows (#148691)

2025-07-15 Thread via lldb-commits
Author: nerix Date: 2025-07-15T11:38:43-07:00 New Revision: 95fa67603c4ab5d75a2f8df328d7da5580466d50 URL: https://github.com/llvm/llvm-project/commit/95fa67603c4ab5d75a2f8df328d7da5580466d50 DIFF: https://github.com/llvm/llvm-project/commit/95fa67603c4ab5d75a2f8df328d7da5580466d50.diff LOG: [L

[Lldb-commits] [lldb] [lldb] Fix race condition in Process::WaitForProcessToStop() (PR #144919)

2025-07-15 Thread via lldb-commits
athierry-oct wrote: Gentle ping — is this PR ready to merge? I don’t have merge privileges, so if one of the reviewers could take care of it when it's ready, I’d appreciate it! https://github.com/llvm/llvm-project/pull/144919 ___ lldb-commits mailing

[Lldb-commits] [lldb] [LLDB] Add formatters for MSVC STL std::(forward_)list (PR #148285)

2025-07-15 Thread via lldb-commits
https://github.com/Nerixyz updated https://github.com/llvm/llvm-project/pull/148285 >From 104fbb9daa6ea0d4483939662ae08a8d42d77f44 Mon Sep 17 00:00:00 2001 From: Nerixyz Date: Fri, 11 Jul 2025 22:06:47 +0200 Subject: [PATCH 1/3] [LLDB] Add formatters for MSVC STL std::(forward_)list --- lldb/

[Lldb-commits] [lldb] [LLDB] Add formatters for MSVC STL std::(forward_)list (PR #148285)

2025-07-15 Thread via lldb-commits
https://github.com/Nerixyz updated https://github.com/llvm/llvm-project/pull/148285 >From 104fbb9daa6ea0d4483939662ae08a8d42d77f44 Mon Sep 17 00:00:00 2001 From: Nerixyz Date: Fri, 11 Jul 2025 22:06:47 +0200 Subject: [PATCH 1/3] [LLDB] Add formatters for MSVC STL std::(forward_)list --- lldb/

[Lldb-commits] [lldb] [DRAFT] [lldb][Expression] Encode Module and DIE UIDs into function AsmLabels (PR #148877)

2025-07-15 Thread via lldb-commits
github-actions[bot] wrote: :warning: C/C++ code formatter, clang-format found issues in your code. :warning: You can test this locally with the following command: ``bash git-clang-format --diff HEAD~1 HEAD --extensions h,cpp -- lldb/include/lldb/Expression/Expression.h lldb/incl

[Lldb-commits] [lldb] [DRAFT] [lldb][Expression] Encode Module and DIE UIDs into function AsmLabels (PR #148877)

2025-07-15 Thread Michael Buch via lldb-commits
@@ -249,6 +250,41 @@ static unsigned GetCXXMethodCVQuals(const DWARFDIE &subprogram, return cv_quals; } +// TODO: +// 0. Adjust FindInSymbols +// 1. log failure paths +// 2. What happens for functions without a linkage name? Previously we didn't +// attach a label for those

[Lldb-commits] [lldb] [LLDB] Add formatters for MSVC STL std::(forward_)list (PR #148285)

2025-07-15 Thread via lldb-commits
https://github.com/Nerixyz updated https://github.com/llvm/llvm-project/pull/148285 >From 104fbb9daa6ea0d4483939662ae08a8d42d77f44 Mon Sep 17 00:00:00 2001 From: Nerixyz Date: Fri, 11 Jul 2025 22:06:47 +0200 Subject: [PATCH 1/3] [LLDB] Add formatters for MSVC STL std::(forward_)list --- lldb/

[Lldb-commits] [lldb] [DRAFT] [lldb][Expression] Encode Module and DIE UIDs into function AsmLabels (PR #148877)

2025-07-15 Thread Michael Buch via lldb-commits
https://github.com/Michael137 created https://github.com/llvm/llvm-project/pull/148877 None >From 7f805d67f73d9683d69410895be1d042f0c6da14 Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Fri, 15 Nov 2024 01:59:36 + Subject: [PATCH] [lldb][Expression] Encode Module and DIE UIDs into funct

[Lldb-commits] [lldb] [lldb] Fix a crash in lldb-server during RemoveSoftwareBreakpoint() (PR #148738)

2025-07-15 Thread via lldb-commits
https://github.com/royitaqi edited https://github.com/llvm/llvm-project/pull/148738 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] Fix a crash in lldb-server during RemoveSoftwareBreakpoint() (PR #148738)

2025-07-15 Thread via lldb-commits
https://github.com/royitaqi edited https://github.com/llvm/llvm-project/pull/148738 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] 8612926 - [lldb] Fix race condition in Process::WaitForProcessToStop() (#144919)

2025-07-15 Thread via lldb-commits
Author: athierry-oct Date: 2025-07-15T09:33:00-07:00 New Revision: 8612926c306c5191a5fb385dd11467728c59e982 URL: https://github.com/llvm/llvm-project/commit/8612926c306c5191a5fb385dd11467728c59e982 DIFF: https://github.com/llvm/llvm-project/commit/8612926c306c5191a5fb385dd11467728c59e982.diff

[Lldb-commits] [lldb] [lldb] Fix race condition in Process::WaitForProcessToStop() (PR #144919)

2025-07-15 Thread via lldb-commits
github-actions[bot] wrote: @athierry-oct Congratulations on having your first Pull Request (PR) merged into the LLVM Project! Your changes will be combined with recent changes from other authors, then tested by our [build bots](https://lab.llvm.org/buildbot/). If there is a problem with a b

[Lldb-commits] [lldb] [lldb] Fix race condition in Process::WaitForProcessToStop() (PR #144919)

2025-07-15 Thread via lldb-commits
https://github.com/jimingham closed https://github.com/llvm/llvm-project/pull/144919 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] Fix race condition in Process::WaitForProcessToStop() (PR #144919)

2025-07-15 Thread via lldb-commits
jimingham wrote: It doesn't look like there are any outstanding emendations. Pushing. https://github.com/llvm/llvm-project/pull/144919 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commi

[Lldb-commits] [lldb] [lldb] Fix a crash in lldb-server during RemoveSoftwareBreakpoint() (PR #148738)

2025-07-15 Thread via lldb-commits
https://github.com/royitaqi edited https://github.com/llvm/llvm-project/pull/148738 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb-dap] persistent assembly breakpoints (PR #148061)

2025-07-15 Thread via lldb-commits
jimingham wrote: > From the issue, we can have persistent assembly source breakpoint if it is > set from the disassembly view. > > We only create sourceReference and virtual disassembly file if there is no > source file for that frame. > > we can store the necessary information in the adapter

[Lldb-commits] [lldb] When running OS Plugins from dSYM's, make sure start state is correct (PR #146441)

2025-07-15 Thread David Peixotto via lldb-commits
dmpots wrote: @jimingham we found a deadlock that we suspect is related to this patch. Please take a look at the proposed fix in #148774. Thanks! https://github.com/llvm/llvm-project/pull/146441 ___ lldb-commits mailing list lldb-commits@lists.llvm.or

[Lldb-commits] [lldb] [LLDB] Add formatters for MSVC STL std::tuple (PR #148548)

2025-07-15 Thread via lldb-commits
https://github.com/Nerixyz updated https://github.com/llvm/llvm-project/pull/148548 >From 9950cdb7fa60c9ef3f284e7d091c2afb3a5f7aa6 Mon Sep 17 00:00:00 2001 From: Nerixyz Date: Sun, 13 Jul 2025 22:46:23 +0200 Subject: [PATCH] [LLDB] Add formatters for MSVC STL std::tuple --- .../Plugins/Langua

[Lldb-commits] [lldb] [LLDB] Add formatters for MSVC STL std::tuple (PR #148548)

2025-07-15 Thread via lldb-commits
@@ -1656,9 +1658,6 @@ static void LoadCommonStlFormatters(lldb::TypeCategoryImplSP cpp_category_sp) { }, "MSVC STL/libstdc++ std::wstring summary provider")); - stl_summary_flags.SetDontShowChildren(false); Nerixyz wrote: I didn't rebase

[Lldb-commits] [lldb] [LLDB] Add formatters for MSVC STL std::(forward_)list (PR #148285)

2025-07-15 Thread via lldb-commits
https://github.com/Nerixyz updated https://github.com/llvm/llvm-project/pull/148285 >From 104fbb9daa6ea0d4483939662ae08a8d42d77f44 Mon Sep 17 00:00:00 2001 From: Nerixyz Date: Fri, 11 Jul 2025 22:06:47 +0200 Subject: [PATCH 1/3] [LLDB] Add formatters for MSVC STL std::(forward_)list --- lldb/

[Lldb-commits] [lldb] [lldb][NFC] Small fixes identified by the clang static analyzer (PR #148773)

2025-07-15 Thread Dave Lee via lldb-commits
@@ -539,6 +540,8 @@ static Status HandleFileAction(ProcessLaunchInfo &launch_info, : "unable to launch"); } + [env_dict release]; + [options release]; kastiglione wrote: I wonder if these objc++ files ca

[Lldb-commits] [lldb] [lldb] Fix race condition in Process::WaitForProcessToStop() (PR #144919)

2025-07-15 Thread LLVM Continuous Integration via lldb-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `lldb-aarch64-ubuntu` running on `linaro-lldb-aarch64-ubuntu` while building `lldb` at step 6 "test". Full details are available at: https://lab.llvm.org/buildbot/#/builders/59/builds/21064 Here is the relevant piece of the b

[Lldb-commits] [lldb] [DRAFT][lldb][RPC] Design doc for upstreaming PR (PR #138612)

2025-07-15 Thread Chelsea Cassanova via lldb-commits
https://github.com/chelcassanova updated https://github.com/llvm/llvm-project/pull/138612 >From 3d29af3b776c407de606cf507c9b03c49daa11b0 Mon Sep 17 00:00:00 2001 From: Chelsea Cassanova Date: Wed, 30 Apr 2025 09:04:40 -0700 Subject: [PATCH] [lldb][RPC] Design doc for upstreaming PR This mainly

[Lldb-commits] [lldb] [LLDB] Add formatters for MSVC STL std::vector (PR #147538)

2025-07-15 Thread via lldb-commits
https://github.com/Nerixyz updated https://github.com/llvm/llvm-project/pull/147538 >From d8a898b9a3f6b16d551baa7253344402d75ca4d8 Mon Sep 17 00:00:00 2001 From: Nerixyz Date: Sat, 21 Jun 2025 17:35:23 +0200 Subject: [PATCH 1/3] [LLDB] Add formatters for MSVC STL std::vector --- .../Plugins/L

[Lldb-commits] [lldb] [lldb][rpc] Upstream RPC Client Library Emitters (PR #147655)

2025-07-15 Thread Chelsea Cassanova via lldb-commits
https://github.com/chelcassanova edited https://github.com/llvm/llvm-project/pull/147655 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

  1   2   >