[Lldb-commits] [lldb] acf9611 - [lldb] Fix a warning

2025-08-25 Thread Kazu Hirata via lldb-commits
Author: Kazu Hirata Date: 2025-08-25T23:52:03-07:00 New Revision: acf961181116d9e000c1f4e4d1cdee1108143ff1 URL: https://github.com/llvm/llvm-project/commit/acf961181116d9e000c1f4e4d1cdee1108143ff1 DIFF: https://github.com/llvm/llvm-project/commit/acf961181116d9e000c1f4e4d1cdee1108143ff1.diff L

[Lldb-commits] [lldb] [lldb-dap] Improving lldbdap_testcase.py error diagnosability (PR #155352)

2025-08-25 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Piyush Jaiswal (piyushjaiswal98) Changes Improved response Message handling in lldbdap_testcase.py to handle various formats. Allows for more descriptive error messaging (Provides useful info even when error details are malformed) --- Ful

[Lldb-commits] [lldb] [lldb-dap] Improving lldbdap_testcase.py error diagnosability (PR #155352)

2025-08-25 Thread via lldb-commits
github-actions[bot] wrote: Thank you for submitting a Pull Request (PR) to the LLVM Project! This PR will be automatically labeled and the relevant teams will be notified. If you wish to, you can add reviewers by using the "Reviewers" section on this page. If this is not working for you, it

[Lldb-commits] [lldb] [lldb-dap] Adding exception handling for dap server disconnect and terminations in lldbdap_testcase.py (PR #155335)

2025-08-25 Thread Piyush Jaiswal via lldb-commits
https://github.com/piyushjaiswal98 edited https://github.com/llvm/llvm-project/pull/155335 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb-dap] Improving lldbdap_testcase.py error diagnosability (PR #155352)

2025-08-25 Thread Piyush Jaiswal via lldb-commits
https://github.com/piyushjaiswal98 created https://github.com/llvm/llvm-project/pull/155352 Improved response Message handling in lldbdap_testcase.py to handle various formats. Allows for more descriptive error messaging (Provides useful info even when error details are malformed) >From 80ee7

[Lldb-commits] [lldb] [lldb-dap] Adding exception handling for dap server disconnect and terminations in lldbdap_testcase.py (PR #155335)

2025-08-25 Thread Piyush Jaiswal via lldb-commits
https://github.com/piyushjaiswal98 edited https://github.com/llvm/llvm-project/pull/155335 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [LLDB] Re-land 'Update DIL handling of array subscripting' (PR #154269)

2025-08-25 Thread via lldb-commits
https://github.com/cmtice updated https://github.com/llvm/llvm-project/pull/154269 >From 6339648dada68de6fd1489b33c37f1e7c4a38569 Mon Sep 17 00:00:00 2001 From: Caroline Tice Date: Mon, 18 Aug 2025 22:00:46 -0700 Subject: [PATCH 1/4] [LLDB] Re-land 'Update DIL handling of array subscripting'

[Lldb-commits] [lldb] [lldb-dap] Improving lldbdap_testcase.py error diagnosability and adding exception handling for dap server disconnect and terminations (PR #155335)

2025-08-25 Thread Piyush Jaiswal via lldb-commits
https://github.com/piyushjaiswal98 updated https://github.com/llvm/llvm-project/pull/155335 >From 443c2b4c983399fce0ac6805abfa7ca2fffd1322 Mon Sep 17 00:00:00 2001 From: Piyush Jaiswal Date: Mon, 25 Aug 2025 17:31:45 -0700 Subject: [PATCH 1/2] Improving lldbdap server error diagnosability and a

[Lldb-commits] [lldb] [lldb-dap] Improving lldbdap_testcase.py error diagnosability and adding exception handling for dap server disconnect and terminations (PR #155335)

2025-08-25 Thread Piyush Jaiswal via lldb-commits
@@ -466,8 +466,15 @@ def attach( # if we throw an exception during the test case. def cleanup(): if disconnectAutomatically: -self.dap_server.request_disconnect(terminateDebuggee=True) -self.dap_server.terminate() +

[Lldb-commits] [lldb] [LLDB] Re-land 'Update DIL handling of array subscripting' (PR #154269)

2025-08-25 Thread via lldb-commits
https://github.com/cmtice updated https://github.com/llvm/llvm-project/pull/154269 >From 6339648dada68de6fd1489b33c37f1e7c4a38569 Mon Sep 17 00:00:00 2001 From: Caroline Tice Date: Mon, 18 Aug 2025 22:00:46 -0700 Subject: [PATCH 1/3] [LLDB] Re-land 'Update DIL handling of array subscripting'

[Lldb-commits] [lldb] [lldb-dap] Improving lldbdap_testcase.py error diagnosability and adding exception handling for dap server disconnect and terminations (PR #155335)

2025-08-25 Thread Piyush Jaiswal via lldb-commits
@@ -466,8 +466,15 @@ def attach( # if we throw an exception during the test case. def cleanup(): if disconnectAutomatically: -self.dap_server.request_disconnect(terminateDebuggee=True) -self.dap_server.terminate() +

[Lldb-commits] [lldb] [lldb-dap] Improving lldbdap_testcase.py error diagnosability and adding exception handling for dap server disconnect and terminations (PR #155335)

2025-08-25 Thread Piyush Jaiswal via lldb-commits
piyushjaiswal98 wrote: > Thanks for the contribution! We generally prefer small, self contained > patches and since the two changes are orthogonal, please create a separate PR > for the second change. Sure...I'll split it into two https://github.com/llvm/llvm-project/pull/155335 _

[Lldb-commits] [lldb] [LLDB] Re-land 'Update DIL handling of array subscripting' (PR #154269)

2025-08-25 Thread via lldb-commits
@@ -330,40 +330,135 @@ Interpreter::Visit(const ArraySubscriptNode *node) { return lhs_or_err; lldb::ValueObjectSP base = *lhs_or_err; - // Check to see if 'base' has a synthetic value; if so, try using that. + StreamString var_expr_path_strm; uint64_t child_idx = n

[Lldb-commits] [lldb] [LLDB] Re-land 'Update DIL handling of array subscripting' (PR #154269)

2025-08-25 Thread via lldb-commits
@@ -330,40 +330,135 @@ Interpreter::Visit(const ArraySubscriptNode *node) { return lhs_or_err; lldb::ValueObjectSP base = *lhs_or_err; - // Check to see if 'base' has a synthetic value; if so, try using that. + StreamString var_expr_path_strm; uint64_t child_idx = n

[Lldb-commits] [lldb] [lldb] Add utility to create Mach-O corefile from YAML desc (PR #153911)

2025-08-25 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 cpp,h -- lldb/tools/yaml2macho-core/CoreSpec.cpp lldb/tools/

[Lldb-commits] [lldb] [lldb] Add utility to create Mach-O corefile from YAML desc (PR #153911)

2025-08-25 Thread Jason Molenda via lldb-commits
@@ -0,0 +1,223 @@ +//===-- main.cppp -===// +// +// 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 utility to create Mach-O corefile from YAML desc (PR #153911)

2025-08-25 Thread Jason Molenda via lldb-commits
@@ -0,0 +1,55 @@ +//===-- LCNoteWriter.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: Apa

[Lldb-commits] [lldb] [lldb] Add utility to create Mach-O corefile from YAML desc (PR #153911)

2025-08-25 Thread Jason Molenda via lldb-commits
@@ -0,0 +1,22 @@ +//===-- Utility.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: Apa

[Lldb-commits] [lldb] [lldb] Add utility to create Mach-O corefile from YAML desc (PR #153911)

2025-08-25 Thread Jason Molenda via lldb-commits
jasonmolenda wrote: > I know this is a simple tool, but it seems like adding a bit of organization > could go a long way. Essentially, the tool consists of 3 parts: > > 1. A reader that takes YAML and creates an in-memory/intermediate > representation (CoreSpec). > 2. A writer that takes a Cor

[Lldb-commits] [lldb] [lldb] Fix use after free on ModuleList::RemoveSharedModuleIfOrphaned (PR #155331)

2025-08-25 Thread Jonas Devlieghere via lldb-commits
@@ -2564,9 +2564,12 @@ ModuleSP Target::GetOrCreateModule(const ModuleSpec &orig_module_spec, m_images.Append(module_sp, notify); for (ModuleSP &old_module_sp : replaced_modules) { + auto use_count = old_module_sp.use_count(); Module *old

[Lldb-commits] [lldb] [lldb] Fix use after free on ModuleList::RemoveSharedModuleIfOrphaned (PR #155331)

2025-08-25 Thread Jonas Devlieghere via lldb-commits
@@ -2564,9 +2564,12 @@ ModuleSP Target::GetOrCreateModule(const ModuleSpec &orig_module_spec, m_images.Append(module_sp, notify); for (ModuleSP &old_module_sp : replaced_modules) { + auto use_count = old_module_sp.use_count(); Module *old

[Lldb-commits] [lldb] [lldb-dap] Improving lldbdap_testcase.py error diagnosability and adding exception handling for dap server disconnect and terminations (PR #155335)

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

[Lldb-commits] [lldb] [lldb-dap] Improving lldbdap_testcase.py error diagnosability and adding exception handling for dap server disconnect and terminations (PR #155335)

2025-08-25 Thread Jonas Devlieghere via lldb-commits
@@ -466,8 +466,15 @@ def attach( # if we throw an exception during the test case. def cleanup(): if disconnectAutomatically: -self.dap_server.request_disconnect(terminateDebuggee=True) -self.dap_server.terminate() +

[Lldb-commits] [lldb] [lldb-dap] Improving lldbdap_testcase.py error diagnosability and adding exception handling for dap server disconnect and terminations (PR #155335)

2025-08-25 Thread Jonas Devlieghere via lldb-commits
@@ -466,8 +466,15 @@ def attach( # if we throw an exception during the test case. def cleanup(): if disconnectAutomatically: -self.dap_server.request_disconnect(terminateDebuggee=True) -self.dap_server.terminate() +

[Lldb-commits] [lldb] [lldb-dap] Improving lldbdap_testcase.py error diagnosability and adding exception handling for dap server disconnect and terminations (PR #155335)

2025-08-25 Thread Jonas Devlieghere via lldb-commits
https://github.com/JDevlieghere commented: Thanks for the contribution! We generally prefer small, self contained patches and since the two changes are orthogonal, please create a separate PR for the second change. https://github.com/llvm/llvm-project/pull/155335 __

[Lldb-commits] [lldb] [lldb] Adopt JSONTransport in the MCP Server (Reland) (PR #155322)

2025-08-25 Thread Jacob Lalonde via lldb-commits
https://github.com/Jlalond approved this pull request. LGTM, thanks for fixing the flakey test https://github.com/llvm/llvm-project/pull/155322 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/ll

[Lldb-commits] [lldb] [lldb] Creating a new Binder helper for JSONRPC transport. (PR #155315)

2025-08-25 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: John Harrison (ashgti) Changes The `lldb_protocol::mcp::Binder` class is used to craft bindings between requests and notifications to specific handlers. This supports both incoming and outgoing handlers that bind these functions to a Mess

[Lldb-commits] [lldb] [lldb] Creating a new Binder helper for JSONRPC transport. (PR #155315)

2025-08-25 Thread John Harrison via lldb-commits
https://github.com/ashgti created https://github.com/llvm/llvm-project/pull/155315 The `lldb_protocol::mcp::Binder` class is used to craft bindings between requests and notifications to specific handlers. This supports both incoming and outgoing handlers that bind these functions to a Message

[Lldb-commits] [clang] [lldb] [clang] remove IsDefaulted bit from TemplateArgument (PR #155120)

2025-08-25 Thread Matheus Izvekov via lldb-commits
mizvekov wrote: > If the change breaks LLDB then you should also fix that break as well. Yes of course, but the parts already in the PR can be reviewed independently of that. https://github.com/llvm/llvm-project/pull/155120 ___ lldb-commits mailing l

[Lldb-commits] [lldb] [lldb] Add count for errors of DWO files in statistics and combine DWO file count functions (PR #155023)

2025-08-25 Thread Ziyi Wang via lldb-commits
@@ -496,6 +496,10 @@ class SymbolFile : public PluginInterface { /// symbol file doesn't support DWO files, both counts will be 0. virtual std::pair GetDwoFileCounts() { return {0, 0}; } + /// Calculates the count of dwo load error, return the number of dwo file with

[Lldb-commits] [clang] [lldb] [clang] remove IsDefaulted bit from TemplateArgument (PR #155120)

2025-08-25 Thread Shafik Yaghmour via lldb-commits
shafik wrote: > This patch doesn't touch LLDB. If LLDB uses this bit, then LLDB also needs to > be updated in the same manner as we are updating DebugInfo here. If the change breaks LLDB then you should also fix that break as well. https://github.com/llvm/llvm-project/pull/155120 ___

[Lldb-commits] [lldb] [lldb-dap] improve symbol table style (PR #155097)

2025-08-25 Thread Ely Ronnen via lldb-commits
https://github.com/eronnen closed https://github.com/llvm/llvm-project/pull/155097 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] 3cbbc07 - [lldb-dap] improve symbol table style (#155097)

2025-08-25 Thread via lldb-commits
Author: Ely Ronnen Date: 2025-08-25T22:33:39+02:00 New Revision: 3cbbc075be6bbcfc9c7d8ff6d069403be28ad242 URL: https://github.com/llvm/llvm-project/commit/3cbbc075be6bbcfc9c7d8ff6d069403be28ad242 DIFF: https://github.com/llvm/llvm-project/commit/3cbbc075be6bbcfc9c7d8ff6d069403be28ad242.diff LO

[Lldb-commits] [lldb] [lldb-dap] improve symbol table style (PR #155097)

2025-08-25 Thread Ely Ronnen via lldb-commits
https://github.com/eronnen updated https://github.com/llvm/llvm-project/pull/155097 >From 17f91ec0bcbeda08201a39d28657d2268cebbb74 Mon Sep 17 00:00:00 2001 From: Ely Ronnen Date: Sat, 23 Aug 2025 12:44:27 +0200 Subject: [PATCH 1/3] use vscode theme colors for alternating symbol table colors -

[Lldb-commits] [clang] [lldb] [UBSan][BoundsSafety] Implement support for more expressive "trap reasons" (PR #154618)

2025-08-25 Thread Paul Kirth via lldb-commits
@@ -0,0 +1,21 @@ +//===--===// +// +// 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: Apac

[Lldb-commits] [clang] [lldb] [UBSan][BoundsSafety] Implement support for more expressive "trap reasons" (PR #154618)

2025-08-25 Thread Dan Liew via lldb-commits
https://github.com/delcypher updated https://github.com/llvm/llvm-project/pull/154618 >From db45694078e74e2c080e40dd8ba635d2c9f313c6 Mon Sep 17 00:00:00 2001 From: Dan Liew Date: Tue, 19 Aug 2025 15:08:44 -0700 Subject: [PATCH 01/14] [UBSan][BoundsSafety] Implement support for more expressive

[Lldb-commits] [clang] [lldb] [UBSan][BoundsSafety] Implement support for more expressive "trap reasons" (PR #154618)

2025-08-25 Thread Dan Liew via lldb-commits
https://github.com/delcypher updated https://github.com/llvm/llvm-project/pull/154618 >From db45694078e74e2c080e40dd8ba635d2c9f313c6 Mon Sep 17 00:00:00 2001 From: Dan Liew Date: Tue, 19 Aug 2025 15:08:44 -0700 Subject: [PATCH 01/13] [UBSan][BoundsSafety] Implement support for more expressive

[Lldb-commits] [clang] [lldb] [UBSan][BoundsSafety] Implement support for more expressive "trap reasons" (PR #154618)

2025-08-25 Thread via lldb-commits
@@ -0,0 +1,21 @@ +//===--===// +// +// 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: Apac

[Lldb-commits] [lldb] [lldb] Do not use LC_FUNCTION_STARTS data to determine symbol size as symbols are created (PR #155282)

2025-08-25 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Alex Langford (bulbazord) Changes Note: This is a resubmission of #106791. I had to revert this a year ago for a failing test that I could not understand. I have time now to try and get this in again. Summary: This improves the performanc

[Lldb-commits] [lldb] [lldb] Do not use LC_FUNCTION_STARTS data to determine symbol size as symbols are created (PR #155282)

2025-08-25 Thread Alex Langford via lldb-commits
https://github.com/bulbazord created https://github.com/llvm/llvm-project/pull/155282 Note: This is a resubmission of #106791. I had to revert this a year ago for a failing test that I could not understand. I have time now to try and get this in again. Summary: This improves the performance o

[Lldb-commits] [clang] [lldb] [UBSan][BoundsSafety] Implement support for more expressive "trap reasons" (PR #154618)

2025-08-25 Thread Dan Liew via lldb-commits
https://github.com/delcypher updated https://github.com/llvm/llvm-project/pull/154618 >From db45694078e74e2c080e40dd8ba635d2c9f313c6 Mon Sep 17 00:00:00 2001 From: Dan Liew Date: Tue, 19 Aug 2025 15:08:44 -0700 Subject: [PATCH 01/12] [UBSan][BoundsSafety] Implement support for more expressive

[Lldb-commits] [clang] [lldb] [UBSan][BoundsSafety] Implement support for more expressive "trap reasons" (PR #154618)

2025-08-25 Thread Dan Liew via lldb-commits
https://github.com/delcypher updated https://github.com/llvm/llvm-project/pull/154618 >From db45694078e74e2c080e40dd8ba635d2c9f313c6 Mon Sep 17 00:00:00 2001 From: Dan Liew Date: Tue, 19 Aug 2025 15:08:44 -0700 Subject: [PATCH 01/11] [UBSan][BoundsSafety] Implement support for more expressive

[Lldb-commits] [clang] [lldb] [UBSan][BoundsSafety] Implement support for more expressive "trap reasons" (PR #154618)

2025-08-25 Thread Dan Liew via lldb-commits
@@ -1534,6 +1536,103 @@ inline DiagnosticBuilder DiagnosticsEngine::Report(unsigned DiagID) { return Report(SourceLocation(), DiagID); } +//===--===// +// RuntimeTrapDiagnosticBuilder and helper classes +//

[Lldb-commits] [clang] [lldb] [UBSan][BoundsSafety] Implement support for more expressive "trap reasons" (PR #154618)

2025-08-25 Thread Dan Liew via lldb-commits
@@ -0,0 +1,21 @@ +//===--===// +// +// 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: Apac

[Lldb-commits] [lldb] Revert "[lldb] Adopt JSONTransport in the MCP Server" (PR #155280)

2025-08-25 Thread Jonas Devlieghere via lldb-commits
https://github.com/JDevlieghere closed https://github.com/llvm/llvm-project/pull/155280 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] aa1dd4b - Revert "[lldb] Adopt JSONTransport in the MCP Server" (#155280)

2025-08-25 Thread via lldb-commits
Author: Jonas Devlieghere Date: 2025-08-25T12:34:36-07:00 New Revision: aa1dd4b0d68a66ff3890807b8a0b4cd537b668af URL: https://github.com/llvm/llvm-project/commit/aa1dd4b0d68a66ff3890807b8a0b4cd537b668af DIFF: https://github.com/llvm/llvm-project/commit/aa1dd4b0d68a66ff3890807b8a0b4cd537b668af.d

[Lldb-commits] [lldb] Revert "[lldb] Adopt JSONTransport in the MCP Server" (PR #155280)

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

[Lldb-commits] [lldb] Revert "[lldb] Adopt JSONTransport in the MCP Server" (PR #155280)

2025-08-25 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Jonas Devlieghere (JDevlieghere) Changes Reverts llvm/llvm-project#155034 --- Full diff: https://github.com/llvm/llvm-project/pull/155280.diff 5 Files Affected: - (modified) lldb/include/lldb/Protocol/MCP/Server.h (+7-46) - (modified) l

[Lldb-commits] [lldb] Revert "[lldb] Adopt JSONTransport in the MCP Server" (PR #155280)

2025-08-25 Thread Jonas Devlieghere via lldb-commits
https://github.com/JDevlieghere created https://github.com/llvm/llvm-project/pull/155280 Reverts llvm/llvm-project#155034 >From 78f99109489d5eff6aa33a82ad96c4bc3c762213 Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Mon, 25 Aug 2025 12:33:47 -0700 Subject: [PATCH] Revert "[lldb] Adopt

[Lldb-commits] [lldb] [lldb] Adopt JSONTransport in the MCP Server (PR #155034)

2025-08-25 Thread Jonas Devlieghere via lldb-commits
JDevlieghere wrote: Looks like the test is flakey: it failed on the first build, then passed, then failed again. https://github.com/llvm/llvm-project/pull/155034 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/

[Lldb-commits] [clang] [lldb] [UBSan][BoundsSafety] Implement support for more expressive "trap reasons" (PR #154618)

2025-08-25 Thread Dan Liew via lldb-commits
https://github.com/delcypher updated https://github.com/llvm/llvm-project/pull/154618 >From db45694078e74e2c080e40dd8ba635d2c9f313c6 Mon Sep 17 00:00:00 2001 From: Dan Liew Date: Tue, 19 Aug 2025 15:08:44 -0700 Subject: [PATCH 01/10] [UBSan][BoundsSafety] Implement support for more expressive

[Lldb-commits] [clang] [lldb] [UBSan][BoundsSafety] Implement support for more expressive "trap reasons" (PR #154618)

2025-08-25 Thread Dan Liew via lldb-commits
@@ -1534,6 +1536,103 @@ inline DiagnosticBuilder DiagnosticsEngine::Report(unsigned DiagID) { return Report(SourceLocation(), DiagID); } +//===--===// +// RuntimeTrapDiagnosticBuilder and helper classes +//

[Lldb-commits] [clang] [lldb] [UBSan][BoundsSafety] Implement support for more expressive "trap reasons" (PR #154618)

2025-08-25 Thread via lldb-commits
@@ -1534,6 +1536,103 @@ inline DiagnosticBuilder DiagnosticsEngine::Report(unsigned DiagID) { return Report(SourceLocation(), DiagID); } +//===--===// +// RuntimeTrapDiagnosticBuilder and helper classes +//

[Lldb-commits] [clang] [lldb] [UBSan][BoundsSafety] Implement support for more expressive "trap reasons" (PR #154618)

2025-08-25 Thread Dan Liew via lldb-commits
@@ -1534,6 +1536,103 @@ inline DiagnosticBuilder DiagnosticsEngine::Report(unsigned DiagID) { return Report(SourceLocation(), DiagID); } +//===--===// +// RuntimeTrapDiagnosticBuilder and helper classes +//

[Lldb-commits] [clang] [lldb] [UBSan][BoundsSafety] Implement support for more expressive "trap reasons" (PR #154618)

2025-08-25 Thread Dan Liew via lldb-commits
@@ -1534,6 +1536,103 @@ inline DiagnosticBuilder DiagnosticsEngine::Report(unsigned DiagID) { return Report(SourceLocation(), DiagID); } +//===--===// +// RuntimeTrapDiagnosticBuilder and helper classes +//

[Lldb-commits] [lldb] [lldb] Adopt JSONTransport in the MCP Server (PR #155034)

2025-08-25 Thread Jonas Devlieghere via lldb-commits
JDevlieghere wrote: `ProtocolServerMCPTest.ToolsCallFail` failed on the Debian bot but I can't reproducice this on Darwin or Linux. https://github.com/llvm/llvm-project/pull/155034 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lis

[Lldb-commits] [lldb] [lldb] Adopt JSONTransport in the MCP Server (PR #155034)

2025-08-25 Thread Jonas Devlieghere via lldb-commits
https://github.com/JDevlieghere closed https://github.com/llvm/llvm-project/pull/155034 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] a49df8e - [lldb] Adopt JSONTransport in the MCP Server (#155034)

2025-08-25 Thread via lldb-commits
Author: Jonas Devlieghere Date: 2025-08-25T10:55:30-07:00 New Revision: a49df8ec7d9529b52d0aeefed4dd52b03049f69e URL: https://github.com/llvm/llvm-project/commit/a49df8ec7d9529b52d0aeefed4dd52b03049f69e DIFF: https://github.com/llvm/llvm-project/commit/a49df8ec7d9529b52d0aeefed4dd52b03049f69e.d

[Lldb-commits] [lldb] [lldb-dap] improve symbol table style (PR #155097)

2025-08-25 Thread Ely Ronnen via lldb-commits
https://github.com/eronnen updated https://github.com/llvm/llvm-project/pull/155097 >From 17f91ec0bcbeda08201a39d28657d2268cebbb74 Mon Sep 17 00:00:00 2001 From: Ely Ronnen Date: Sat, 23 Aug 2025 12:44:27 +0200 Subject: [PATCH 1/3] use vscode theme colors for alternating symbol table colors -

[Lldb-commits] [lldb] [lldb] Adopt JSONTransport in the MCP Server (PR #155034)

2025-08-25 Thread Jonas Devlieghere via lldb-commits
https://github.com/JDevlieghere updated https://github.com/llvm/llvm-project/pull/155034 >From 3020f2922fc4556b4031c412ecfde62678a5ea33 Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Fri, 22 Aug 2025 14:30:08 -0700 Subject: [PATCH 1/2] [lldb] Adopt JSONTransport in the MCP Server This

[Lldb-commits] [lldb] [lldb][lldb-dap] parse `pathFormat` as an optional (PR #155238)

2025-08-25 Thread John Harrison via lldb-commits
https://github.com/ashgti approved this pull request. https://github.com/llvm/llvm-project/pull/155238 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb][DataFormatters] Support newer _LIBCPP_COMPRESSED_PAIR layout (PR #155153)

2025-08-25 Thread Adrian Prantl via lldb-commits
https://github.com/adrian-prantl closed https://github.com/llvm/llvm-project/pull/155153 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] 20dd053 - [lldb][DataFormatters] Support newer _LIBCPP_COMPRESSED_PAIR layout (#155153)

2025-08-25 Thread via lldb-commits
Author: Michael Buch Date: 2025-08-25T09:17:55-07:00 New Revision: 20dd053160f7d933037aacb69067ef4d77996ba1 URL: https://github.com/llvm/llvm-project/commit/20dd053160f7d933037aacb69067ef4d77996ba1 DIFF: https://github.com/llvm/llvm-project/commit/20dd053160f7d933037aacb69067ef4d77996ba1.diff

[Lldb-commits] [lldb] [lldb-dap] improve symbol table style (PR #155097)

2025-08-25 Thread Jonas Devlieghere via lldb-commits
https://github.com/JDevlieghere approved this pull request. https://github.com/llvm/llvm-project/pull/155097 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb][DataFormatters] Support newer _LIBCPP_COMPRESSED_PAIR layout (PR #155153)

2025-08-25 Thread Adrian Prantl via lldb-commits
https://github.com/adrian-prantl approved this pull request. https://github.com/llvm/llvm-project/pull/155153 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [LLDB] Re-land 'Update DIL handling of array subscripting' (PR #154269)

2025-08-25 Thread Pavel Labath via lldb-commits
https://github.com/labath commented: Okay, I think I understand now. The question is about what to do with pointer to data structures with child providers (e.g. `std::vector*`). The original "frame var" indexed the pointer (meaning `v[0]` was the same as dereferencing the vector -- handy beca

[Lldb-commits] [lldb] [LLDB] Re-land 'Update DIL handling of array subscripting' (PR #154269)

2025-08-25 Thread Pavel Labath via lldb-commits
@@ -330,40 +330,135 @@ Interpreter::Visit(const ArraySubscriptNode *node) { return lhs_or_err; lldb::ValueObjectSP base = *lhs_or_err; - // Check to see if 'base' has a synthetic value; if so, try using that. + StreamString var_expr_path_strm; uint64_t child_idx = n

[Lldb-commits] [lldb] [LLDB] Re-land 'Update DIL handling of array subscripting' (PR #154269)

2025-08-25 Thread Pavel Labath via lldb-commits
@@ -330,40 +330,135 @@ Interpreter::Visit(const ArraySubscriptNode *node) { return lhs_or_err; lldb::ValueObjectSP base = *lhs_or_err; - // Check to see if 'base' has a synthetic value; if so, try using that. + StreamString var_expr_path_strm; uint64_t child_idx = n

[Lldb-commits] [lldb] [LLDB] Re-land 'Update DIL handling of array subscripting' (PR #154269)

2025-08-25 Thread Pavel Labath via lldb-commits
https://github.com/labath edited https://github.com/llvm/llvm-project/pull/154269 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb-dap] improve symbol table style (PR #155097)

2025-08-25 Thread Walter Erquinigo via lldb-commits
https://github.com/walter-erquinigo edited https://github.com/llvm/llvm-project/pull/155097 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb-dap] Add readOnly attribute for variables (PR #151884)

2025-08-25 Thread Walter Erquinigo via lldb-commits
https://github.com/walter-erquinigo approved this pull request. lgtm! https://github.com/llvm/llvm-project/pull/151884 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb][lldb-dap] parse `pathFormat` as an optional (PR #155238)

2025-08-25 Thread Walter Erquinigo via lldb-commits
https://github.com/walter-erquinigo approved this pull request. thanks! https://github.com/llvm/llvm-project/pull/155238 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb-dap] improve symbol table style (PR #155097)

2025-08-25 Thread Walter Erquinigo via lldb-commits
https://github.com/walter-erquinigo approved this pull request. Thank you for the attention to details :) This is what makes this IDE great! https://github.com/llvm/llvm-project/pull/155097 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http

[Lldb-commits] [lldb] [lldb] add software watchpoints support (PR #151195)

2025-08-25 Thread via lldb-commits
dlav-sc wrote: > One kind of testing we need to add here - given the performance degradation > this feature entails - is that if you have no software watchpoints, we don't > do this single step all threads, then if you set a software watchpoint we > start single-stepping all threads and then w

[Lldb-commits] [lldb] [lldb] add software watchpoints support (PR #151195)

2025-08-25 Thread via lldb-commits
dlav-sc wrote: @jimingham, > I found this a bit confusing when reading this patch. There are really two > "conditions" being talked about here. There's the primary "hidden" condition > that tests "did the region we are watching change value" and then there's the > watchpoint condition set wit

[Lldb-commits] [lldb] [lldb][lldb-dap] parse `pathFormat` as an optional (PR #155238)

2025-08-25 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Ebuka Ezike (da-viper) Changes pathFormat is an optional field in `initializeAruguments`. --- Full diff: https://github.com/llvm/llvm-project/pull/155238.diff 1 Files Affected: - (modified) lldb/tools/lldb-dap/Protocol/ProtocolRequests.c

[Lldb-commits] [lldb] [lldb][lldb-dap] parse `pathFormat` as an optional (PR #155238)

2025-08-25 Thread Ebuka Ezike via lldb-commits
https://github.com/da-viper created https://github.com/llvm/llvm-project/pull/155238 pathFormat is an optional field in `initializeAruguments`. >From 7fa46bd73962a4cf36cc0a12ebe6588afca21db6 Mon Sep 17 00:00:00 2001 From: Ebuka Ezike Date: Mon, 25 Aug 2025 13:14:49 +0100 Subject: [PATCH] [lldb

[Lldb-commits] [lldb] [lldb-dap] Add readOnly attribute for variables (PR #151884)

2025-08-25 Thread Druzhkov Sergei via lldb-commits
DrSergei wrote: @JDevlieghere friendly ping https://github.com/llvm/llvm-project/pull/151884 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits