[Lldb-commits] [lldb] WIP: Stop using replicated variable ids (PR #124232)

2025-08-27 Thread Anthony Eid via lldb-commits
https://github.com/Anthony-Eid updated https://github.com/llvm/llvm-project/pull/124232 >From 30658e994b18b7c0db114a297036421c8de2dea3 Mon Sep 17 00:00:00 2001 From: Anthony Date: Wed, 27 Aug 2025 13:04:26 -0400 Subject: [PATCH 1/8] Fix variable request from reusing variable_ids --- .../lldb-

[Lldb-commits] [lldb] WIP: Stop using replicated variable ids (PR #124232)

2025-08-27 Thread Med Ismail Bennani via lldb-commits
medismailben wrote: @Anthony-Eid Almost there! Looks like all the tests are passing now you just need to fix the formatting for the python changes (you can run `pip3 install darker && darker -r HEAD~ $LLVM/lldb`) and mark the PR ready for review. Once you do that I'll add some reviewer to this

[Lldb-commits] [lldb] WIP: Stop using replicated variable ids (PR #124232)

2025-08-27 Thread Anthony Eid via lldb-commits
https://github.com/Anthony-Eid updated https://github.com/llvm/llvm-project/pull/124232 >From 30658e994b18b7c0db114a297036421c8de2dea3 Mon Sep 17 00:00:00 2001 From: Anthony Date: Wed, 27 Aug 2025 13:04:26 -0400 Subject: [PATCH 1/6] Fix variable request from reusing variable_ids --- .../lldb-

[Lldb-commits] [lldb] WIP: Stop using replicated variable ids (PR #124232)

2025-08-27 Thread via lldb-commits
github-actions[bot] wrote: :warning: Python code formatter, darker found issues in your code. :warning: You can test this locally with the following command: ``bash darker --check --diff -r origin/main...HEAD lldb/packages/Python/lldbsuite/test/tools/lldb-dap/lldbdap_testcase.py

[Lldb-commits] [lldb] WIP: Stop using replicated variable ids (PR #124232)

2025-08-27 Thread Anthony Eid via lldb-commits
https://github.com/Anthony-Eid updated https://github.com/llvm/llvm-project/pull/124232 >From 30658e994b18b7c0db114a297036421c8de2dea3 Mon Sep 17 00:00:00 2001 From: Anthony Date: Wed, 27 Aug 2025 13:04:26 -0400 Subject: [PATCH 1/5] Fix variable request from reusing variable_ids --- .../lldb-

[Lldb-commits] [lldb] WIP: Stop using replicated variable ids (PR #124232)

2025-08-27 Thread Anthony Eid via lldb-commits
https://github.com/Anthony-Eid updated https://github.com/llvm/llvm-project/pull/124232 >From 30658e994b18b7c0db114a297036421c8de2dea3 Mon Sep 17 00:00:00 2001 From: Anthony Date: Wed, 27 Aug 2025 13:04:26 -0400 Subject: [PATCH 1/3] Fix variable request from reusing variable_ids --- .../lldb-

[Lldb-commits] [lldb] WIP: Stop using replicated variable ids (PR #124232)

2025-08-27 Thread Anthony Eid via lldb-commits
https://github.com/Anthony-Eid updated https://github.com/llvm/llvm-project/pull/124232 >From 30658e994b18b7c0db114a297036421c8de2dea3 Mon Sep 17 00:00:00 2001 From: Anthony Date: Wed, 27 Aug 2025 13:04:26 -0400 Subject: [PATCH 1/3] Fix variable request from reusing variable_ids --- .../lldb-

[Lldb-commits] [lldb] [lldb] Add lldb-mcp scaffolding (PR #155708)

2025-08-27 Thread LLVM Continuous Integration via lldb-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `cross-project-tests-sie-ubuntu-dwarf5` running on `doug-worker-1b` while building `lldb` at step 5 "build-unified-tree". Full details are available at: https://lab.llvm.org/buildbot/#/builders/163/builds/25512 Here is the r

[Lldb-commits] [lldb] 71a065e - [lldb] NFC Moving mcp::Transport into its own file. (#155711)

2025-08-27 Thread via lldb-commits
Author: John Harrison Date: 2025-08-27T16:21:04-07:00 New Revision: 71a065ed07cda66f628e1cfa7b875eeef7e9a141 URL: https://github.com/llvm/llvm-project/commit/71a065ed07cda66f628e1cfa7b875eeef7e9a141 DIFF: https://github.com/llvm/llvm-project/commit/71a065ed07cda66f628e1cfa7b875eeef7e9a141.diff

[Lldb-commits] [lldb] [LLDB] Omit loading local symbols in LLDB symbol table (PR #154809)

2025-08-27 Thread satyanarayana reddy janga via lldb-commits
satyajanga wrote: Looks good to me as well ! https://github.com/llvm/llvm-project/pull/154809 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb][debugserver] Upstream to debugserver changes (PR #155733)

2025-08-27 Thread Jason Molenda via lldb-commits
https://github.com/jasonmolenda created https://github.com/llvm/llvm-project/pull/155733 Review of diffs from lldb's internal debugserver and llvm.org main found two orphaned changes that should be upstreamed. First is in MachTask::ExceptionThread where we want to confirm that a mach exceptio

[Lldb-commits] [lldb] [LLDB] Omit loading local symbols in LLDB symbol table (PR #154809)

2025-08-27 Thread satyanarayana reddy janga via lldb-commits
https://github.com/satyajanga closed https://github.com/llvm/llvm-project/pull/154809 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] c2be035 - [LLDB] Omit loading local symbols in LLDB symbol table (#154809)

2025-08-27 Thread via lldb-commits
Author: barsolo2000 Date: 2025-08-27T19:58:08-05:00 New Revision: c2be0351a725c95e3841a8d59ee432f5b205763f URL: https://github.com/llvm/llvm-project/commit/c2be0351a725c95e3841a8d59ee432f5b205763f DIFF: https://github.com/llvm/llvm-project/commit/c2be0351a725c95e3841a8d59ee432f5b205763f.diff L

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

2025-08-27 Thread Jonas Devlieghere via lldb-commits
JDevlieghere wrote: Can we solve this by handing down a weak pointer to the module? That way we can check if the ref count has hit zero. https://github.com/llvm/llvm-project/pull/155331 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https:

[Lldb-commits] [lldb] [lldb] Adjust ProtocolServer connection defaults. (PR #155714)

2025-08-27 Thread Jonas Devlieghere via lldb-commits
@@ -104,6 +104,43 @@ llvm::Error ProtocolServerMCP::Start(ProtocolServer::Connection connection) { if (llvm::Error error = handles.takeError()) return error; + auto listening_uris = m_listener->GetListeningConnectionURI(); + if (listening_uris.empty()) +return cre

[Lldb-commits] [lldb] [lldb] Adjust ProtocolServer connection defaults. (PR #155714)

2025-08-27 Thread Jonas Devlieghere via lldb-commits
@@ -104,6 +104,43 @@ llvm::Error ProtocolServerMCP::Start(ProtocolServer::Connection connection) { if (llvm::Error error = handles.takeError()) return error; + auto listening_uris = m_listener->GetListeningConnectionURI(); + if (listening_uris.empty()) +return cre

[Lldb-commits] [lldb] [lldb] Adjust ProtocolServer connection defaults. (PR #155714)

2025-08-27 Thread Jonas Devlieghere via lldb-commits
@@ -14,11 +14,23 @@ #include "lldb/Protocol/MCP/Resource.h" #include "lldb/Protocol/MCP/Tool.h" #include "lldb/Protocol/MCP/Transport.h" +#include "lldb/lldb-types.h" #include "llvm/ADT/StringMap.h" #include "llvm/Support/Error.h" +#include "llvm/Support/JSON.h" namespace

[Lldb-commits] [lldb] [lldb] Correct a usage after a rename was merged. (PR #155720)

2025-08-27 Thread Jonas Devlieghere via lldb-commits
JDevlieghere wrote: Thanks! https://github.com/llvm/llvm-project/pull/155720 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] Add more command option mnemonics (PR #155705)

2025-08-27 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Jonas Devlieghere (JDevlieghere) Changes Add a bunch of mnemonics to the command options now that they're highlighted in the help output. --- Patch is 38.39 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-pr

[Lldb-commits] [lldb] [lldb] Adjust ProtocolServer connection defaults. (PR #155714)

2025-08-27 Thread John Harrison via lldb-commits
https://github.com/ashgti updated https://github.com/llvm/llvm-project/pull/155714 >From 831a505e3e8368cf2ee5cae995b8920fbc8d2365 Mon Sep 17 00:00:00 2001 From: John Harrison Date: Wed, 27 Aug 2025 15:58:04 -0700 Subject: [PATCH] [lldb] Adjust ProtocolServer connection defaults. This adjusts t

[Lldb-commits] [lldb] [lldb] Correct a usage after a rename was merged. (PR #155720)

2025-08-27 Thread John Harrison via lldb-commits
https://github.com/ashgti ready_for_review https://github.com/llvm/llvm-project/pull/155720 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] NFC Moving mcp::Transport into its own file. (PR #155711)

2025-08-27 Thread LLVM Continuous Integration via lldb-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `lldb-x86_64-debian` running on `lldb-x86_64-debian` while building `lldb` at step 4 "build". Full details are available at: https://lab.llvm.org/buildbot/#/builders/162/builds/29889 Here is the relevant piece of the build lo

[Lldb-commits] [lldb] [lldb] Correct a usage after a rename was merged. (PR #155720)

2025-08-27 Thread John Harrison via lldb-commits
https://github.com/ashgti created https://github.com/llvm/llvm-project/pull/155720 Fixes lldb-mcp, aa71d95 was merged after 71a065e. >From 6630ce4639806ea392f3ad3a1b36bf6c40b423f2 Mon Sep 17 00:00:00 2001 From: John Harrison Date: Wed, 27 Aug 2025 16:30:14 -0700 Subject: [PATCH] [lldb] Correct

[Lldb-commits] [lldb] [lldb] Add lldb-mcp scaffolding (PR #155708)

2025-08-27 Thread LLVM Continuous Integration via lldb-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `cross-project-tests-sie-ubuntu` running on `doug-worker-1a` while building `lldb` at step 5 "build-unified-tree". Full details are available at: https://lab.llvm.org/buildbot/#/builders/181/builds/26803 Here is the relevant

[Lldb-commits] [lldb] [lldb] Adjust ProtocolServer connection defaults. (PR #155714)

2025-08-27 Thread John Harrison via lldb-commits
ashgti wrote: Right now, I wasn't entirely sure how to make the MCP server's fully unique on the host or what information we need to store about the servers, so I'm currently using the lldb pid to make the files unique. That could be replaced in the future by something else a UUID or hash. ht

[Lldb-commits] [lldb] [lldb] Adjust ProtocolServer connection defaults. (PR #155714)

2025-08-27 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: John Harrison (ashgti) Changes This adjusts the ProtocolServer command to default to create a new connection listening on `localhost:0` and adds a new `ServerMetadata` details to `~/.lldb/mcp/lldb-.json` to record information about th

[Lldb-commits] [lldb] [lldb] Adjust ProtocolServer connection defaults. (PR #155714)

2025-08-27 Thread John Harrison via lldb-commits
https://github.com/ashgti ready_for_review https://github.com/llvm/llvm-project/pull/155714 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] Add lldb-mcp scaffolding (PR #155708)

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

[Lldb-commits] [lldb] aa71d95 - [lldb] Add lldb-mcp scaffolding (#155708)

2025-08-27 Thread via lldb-commits
Author: Jonas Devlieghere Date: 2025-08-27T16:22:00-07:00 New Revision: aa71d95199df4e1ed88d382002181cc9f0fa9327 URL: https://github.com/llvm/llvm-project/commit/aa71d95199df4e1ed88d382002181cc9f0fa9327 DIFF: https://github.com/llvm/llvm-project/commit/aa71d95199df4e1ed88d382002181cc9f0fa9327.d

[Lldb-commits] [lldb] [lldb] NFC Moving mcp::Transport into its own file. (PR #155711)

2025-08-27 Thread John Harrison via lldb-commits
https://github.com/ashgti closed https://github.com/llvm/llvm-project/pull/155711 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] WIP: Stop using replicated variable ids (PR #124232)

2025-08-27 Thread Med Ismail Bennani via lldb-commits
medismailben wrote: Looking at the logs: - `TestDAP_variables.py` fails on [line 290](https://github.com/llvm/llvm-project/blob/47f0fb9057c0c3c3d0c294dd608df0702706d990/lldb/test/API/tools/lldb-dap/variables/TestDAP_variables.py#L290). It looks like we call `self.set_local("argc", 123)`. I went

[Lldb-commits] [lldb] [lldb] Add lldb-mcp scaffolding (PR #155708)

2025-08-27 Thread John Harrison via lldb-commits
@@ -0,0 +1,80 @@ +//===--===// +// +// 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] WIP: Stop using replicated variable ids (PR #124232)

2025-08-27 Thread Med Ismail Bennani via lldb-commits
medismailben wrote: > @medismailben lldb-dap is usable from Zed with my most recent commit now! Do > you have time this week to pair on getting this mergable? I'm pretty sure > using new variable ids is going to break some tests and idk if there's > formatters or anything else I have to fix to

[Lldb-commits] [lldb] [lldb] Add lldb-mcp scaffolding (PR #155708)

2025-08-27 Thread Jonas Devlieghere via lldb-commits
https://github.com/JDevlieghere updated https://github.com/llvm/llvm-project/pull/155708 >From 9c2db2349ffd5fdcbbb5ceebf2a72979dd2a2e88 Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Wed, 27 Aug 2025 15:15:48 -0700 Subject: [PATCH 1/2] [lldb] Add lldb-mcp scaffolding Add the scaffoldin

[Lldb-commits] [lldb] [lldb] Add lldb-mcp scaffolding (PR #155708)

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

[Lldb-commits] [lldb] [lldb] Add lldb-mcp scaffolding (PR #155708)

2025-08-27 Thread Jonas Devlieghere via lldb-commits
@@ -0,0 +1,80 @@ +//===--===// +// +// 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] NFC Moving mcp::Transport into its own file. (PR #155711)

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

[Lldb-commits] [lldb] [lldb] Adjust ProtocolServer connection defaults. (PR #155714)

2025-08-27 Thread John Harrison via lldb-commits
ashgti wrote: This is built on #155711, so I'll leave it as a draft until that is in. https://github.com/llvm/llvm-project/pull/155714 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commit

[Lldb-commits] [lldb] [lldb] Adjust ProtocolServer connection defaults. (PR #155714)

2025-08-27 Thread John Harrison via lldb-commits
https://github.com/ashgti created https://github.com/llvm/llvm-project/pull/155714 This adjusts the ProtocolServer command to default to create a new connection listening on `localhost:0` and adds a new `ServerMetadata` details to `~/.lldb/mcp/lldb-.json` to record information about the curren

[Lldb-commits] [lldb] [lldb] NFC Moving mcp::Transport into its own file. (PR #155711)

2025-08-27 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: John Harrison (ashgti) Changes Moving `lldb_protocol::mcp::MCPTransport` out of Server.h and into its own file and simplifying the name to `Transport`. --- Full diff: https://github.com/llvm/llvm-project/pull/155711.diff 9 Files Affected

[Lldb-commits] [lldb] WIP: Stop using replicated variable ids (PR #124232)

2025-08-27 Thread Anthony Eid via lldb-commits
https://github.com/Anthony-Eid updated https://github.com/llvm/llvm-project/pull/124232 >From 30658e994b18b7c0db114a297036421c8de2dea3 Mon Sep 17 00:00:00 2001 From: Anthony Date: Wed, 27 Aug 2025 13:04:26 -0400 Subject: [PATCH 1/4] Fix variable request from reusing variable_ids --- .../lldb-

[Lldb-commits] [lldb] [lldb] NFC Moving mcp::Transport into its own file. (PR #155711)

2025-08-27 Thread John Harrison via lldb-commits
https://github.com/ashgti created https://github.com/llvm/llvm-project/pull/155711 Moving `lldb_protocol::mcp::MCPTransport` out of Server.h and into its own file and simplifying the name to `Transport`. >From b10f3ffca74e08234960fc0a3d4dfb5431d901ee Mon Sep 17 00:00:00 2001 From: John Harriso

[Lldb-commits] [lldb] [lldb] Add lldb-mcp scaffolding (PR #155708)

2025-08-27 Thread John Harrison via lldb-commits
@@ -0,0 +1,21 @@ + +http://www.apple.com/DTDs/PropertyList-1.0.dtd";> + + + CFBundleDevelopmentRegion + English + CFBundleIdentifier + com.apple.lldb-dap + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + lldb-dap ---

[Lldb-commits] [lldb] [lldb] Add lldb-mcp scaffolding (PR #155708)

2025-08-27 Thread John Harrison via lldb-commits
@@ -0,0 +1,80 @@ +//===--===// +// +// 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] Add lldb-mcp scaffolding (PR #155708)

2025-08-27 Thread John Harrison via lldb-commits
@@ -0,0 +1,80 @@ +//===--===// +// +// 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] Add lldb-mcp scaffolding (PR #155708)

2025-08-27 Thread John Harrison via lldb-commits
@@ -0,0 +1,21 @@ + +http://www.apple.com/DTDs/PropertyList-1.0.dtd";> + + + CFBundleDevelopmentRegion + English + CFBundleIdentifier + com.apple.lldb-dap ashgti wrote: com.apple.lldb-mcp? https://github.com/llvm/llvm-project/pull/155708 _

[Lldb-commits] [lldb] [lldb] Add lldb-mcp scaffolding (PR #155708)

2025-08-27 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Jonas Devlieghere (JDevlieghere) Changes Add the scaffolding for a new tool lldb-mcp. This utility is meant to replace netcat and acts a proxy between the LLM and one or more LLDB instances. In its current form, the utility is a trivial MC

[Lldb-commits] [lldb] WIP: Stop using replicated variable ids (PR #124232)

2025-08-27 Thread Anthony Eid via lldb-commits
Anthony-Eid wrote: @medismailben lldb-dap is usable from Zed with my most recent commit now! Do you have time this week to pair on getting this mergable? I'm pretty sure using new variable ids is going to break some tests and idk if there's formatters or anything else I have to fix to get CICD

[Lldb-commits] [lldb] [lldb] Add lldb-mcp scaffolding (PR #155708)

2025-08-27 Thread Jonas Devlieghere via lldb-commits
https://github.com/JDevlieghere created https://github.com/llvm/llvm-project/pull/155708 Add the scaffolding for a new tool lldb-mcp. This utility is meant to replace netcat and acts a proxy between the LLM and one or more LLDB instances. In its current form, the utility is a trivial MCP serve

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

2025-08-27 Thread LLVM Continuous Integration via lldb-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `sanitizer-x86_64-linux-fast` running on `sanitizer-buildbot3` while building `clang,lldb` at step 2 "annotate". Full details are available at: https://lab.llvm.org/buildbot/#/builders/169/builds/14447 Here is the relevant p

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

2025-08-27 Thread Augusto Noronha via lldb-commits
augusto2112 wrote: @JDevlieghere @felipepiovezan any suggestions on this, or can I merge it as is? The other way to do this would be to allow already freed pointers, document it, and be careful to never dereference it. That feels weird and wasteful though. I guess a third possibility is add a

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

2025-08-27 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/3] Improving lldbdap server error diagnosability and a

[Lldb-commits] [lldb] [lldb] Add more command option mnemonics (PR #155705)

2025-08-27 Thread Jonas Devlieghere via lldb-commits
JDevlieghere wrote: Depends on https://github.com/llvm/llvm-project/pull/155694 https://github.com/llvm/llvm-project/pull/155705 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] Add more command option mnemonics (PR #155705)

2025-08-27 Thread Jonas Devlieghere via lldb-commits
https://github.com/JDevlieghere created https://github.com/llvm/llvm-project/pull/155705 Add a bunch of mnemonics to the command options now that they're highlighted in the help output. >From f4c41d2f40eb06457a7147191d88f2d32308876c Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Wed,

[Lldb-commits] [lldb] [LLDB][AArch64] Make TPIDR a generic tp register (PR #154444)

2025-08-27 Thread Jacob Lalonde via lldb-commits
https://github.com/Jlalond updated https://github.com/llvm/llvm-project/pull/15 >From 3b6592ce5de7bc04195ec17163e788b8ff463ca1 Mon Sep 17 00:00:00 2001 From: Jacob Lalonde Date: Tue, 19 Aug 2025 16:46:22 -0700 Subject: [PATCH 1/7] Make tpidr a generic thread pointer register on aarch ---

[Lldb-commits] [lldb] [LLDB][AArch64] Make TPIDR a generic tp register (PR #154444)

2025-08-27 Thread Jacob Lalonde via lldb-commits
https://github.com/Jlalond edited https://github.com/llvm/llvm-project/pull/15 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

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

2025-08-27 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/3] Improving lldbdap server error diagnosability and a

[Lldb-commits] [lldb] [LLDB] Omit loading local symbols in LLDB symbol table (PR #154809)

2025-08-27 Thread via lldb-commits
https://github.com/barsolo2000 updated https://github.com/llvm/llvm-project/pull/154809 >From f378e6a09487eca27d4741bc527c578b8fb8d161 Mon Sep 17 00:00:00 2001 From: Bar Soloveychik Date: Wed, 20 Aug 2025 14:54:52 -0700 Subject: [PATCH 1/9] added helper function --- .../source/Plugins/ObjectF

[Lldb-commits] [lldb] [lldb] Underline short option letters as mnemonics (PR #153695)

2025-08-27 Thread Jonas Devlieghere via lldb-commits
JDevlieghere wrote: Created a PR to simplify the syntax in the tabelgen files: https://github.com/llvm/llvm-project/pull/155694 https://github.com/llvm/llvm-project/pull/153695 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.ll

[Lldb-commits] [lldb] [lldb] Add a simplified syntax for underlying command options (NFC) (PR #155694)

2025-08-27 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Jonas Devlieghere (JDevlieghere) Changes This PR updates the tablegen emitter for command options to support a simplified syntax to underline the mnemonic. Previously, you had to write `${ansi.underline}${ansi.normal}`, where `` is t

[Lldb-commits] [lldb] [lldb] Add a simplified syntax for underlying command options (NFC) (PR #155694)

2025-08-27 Thread Jonas Devlieghere via lldb-commits
https://github.com/JDevlieghere created https://github.com/llvm/llvm-project/pull/155694 This PR updates the tablegen emitter for command options to support a simplified syntax to underline the mnemonic. Previously, you had to write `${ansi.underline}${ansi.normal}`, where `` is the mnemonic.

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

2025-08-27 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/3] Improving lldbdap server error diagnosability and a

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

2025-08-27 Thread Dan Liew via lldb-commits
https://github.com/delcypher closed https://github.com/llvm/llvm-project/pull/154618 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

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

2025-08-27 Thread via lldb-commits
Author: Dan Liew Date: 2025-08-27T13:07:15-07:00 New Revision: f1ee0473209e31b0d05f589e9091ffbbcc60be31 URL: https://github.com/llvm/llvm-project/commit/f1ee0473209e31b0d05f589e9091ffbbcc60be31 DIFF: https://github.com/llvm/llvm-project/commit/f1ee0473209e31b0d05f589e9091ffbbcc60be31.diff LOG:

[Lldb-commits] [libcxx] [lldb] [libcxx] adds size-based `__split_buffer` representation to unstable ABI (PR #139632)

2025-08-27 Thread Louis Dionne via lldb-commits
ldionne wrote: Oh yes, also could you please run the benchmarks for `std::vector` and `std::deque` before and after the changes (with the regular pointer-based layout)? https://github.com/llvm/llvm-project/pull/139632 ___ lldb-commits mailing list ll

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

2025-08-27 Thread Thurston Dang via lldb-commits
https://github.com/thurstond approved this pull request. https://github.com/llvm/llvm-project/pull/154618 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [libcxx] [lldb] [libcxx] adds size-based `__split_buffer` representation to unstable ABI (PR #139632)

2025-08-27 Thread Louis Dionne via lldb-commits
@@ -820,6 +820,26 @@ class vector { __add_alignment_assumption(_Ptr __p) _NOEXCEPT { return __p; } + + template class _Layout> + _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI void + __swap_layouts(__split_buffer<_Tp, allocator_type&, _Layout>& __v) { +auto

[Lldb-commits] [libcxx] [lldb] [libcxx] adds size-based `__split_buffer` representation to unstable ABI (PR #139632)

2025-08-27 Thread Louis Dionne via lldb-commits
@@ -820,6 +820,26 @@ class vector { __add_alignment_assumption(_Ptr __p) _NOEXCEPT { return __p; } + + template class _Layout> + _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI void + __swap_layouts(__split_buffer<_Tp, allocator_type&, _Layout>& __v) { +auto

[Lldb-commits] [libcxx] [lldb] [libcxx] adds size-based `__split_buffer` representation to unstable ABI (PR #139632)

2025-08-27 Thread Louis Dionne via lldb-commits
@@ -184,242 +458,232 @@ public: _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI void swap(__split_buffer& __x) _NOEXCEPT_(!__alloc_traits::propagate_on_container_swap::value || __is_nothrow_swappable_v<__alloc_rr>); - _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_F

[Lldb-commits] [libcxx] [lldb] [libcxx] adds size-based `__split_buffer` representation to unstable ABI (PR #139632)

2025-08-27 Thread Louis Dionne via lldb-commits
@@ -65,6 +203,170 @@ public: using iterator = pointer; using const_iterator = const_pointer; +public: + _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI __split_buffer_size_layout() = default; + + _LIBCPP_CONSTEXPR_SINCE_CXX20 _L

[Lldb-commits] [libcxx] [lldb] [libcxx] adds size-based `__split_buffer` representation to unstable ABI (PR #139632)

2025-08-27 Thread Louis Dionne via lldb-commits
@@ -65,6 +203,170 @@ public: using iterator = pointer; using const_iterator = const_pointer; +public: + _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI __split_buffer_size_layout() = default; + + _LIBCPP_CONSTEXPR_SINCE_CXX20 _L

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

2025-08-27 Thread Dan Liew via lldb-commits
delcypher wrote: @thurstond Thanks for the feedback. I've tried to address your comments and I also added a brief discussion of optimized-vs-unoptimized builds. https://github.com/llvm/llvm-project/pull/154618 ___ lldb-commits mailing list lldb-commit

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

2025-08-27 Thread Dan Liew via lldb-commits
@@ -166,7 +174,9 @@ Non-comprehensive list of changes in this release New Compiler Flags -- -- New option ``-fno-sanitize-annotate-debug-info-traps`` added to disable emitting trap reasons into the debug info when compiling with trapping UBSan (e.g. ``-fsanit

[Lldb-commits] [libcxx] [lldb] [libcxx] adds size-based `__split_buffer` representation to unstable ABI (PR #139632)

2025-08-27 Thread Louis Dionne via lldb-commits
ldionne wrote: > Ping Yup, I'm reviewing this at the moment. I'll publish my comments when I'm done. https://github.com/llvm/llvm-project/pull/139632 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/list

[Lldb-commits] [libcxx] [lldb] [libcxx] adds size-based `__split_buffer` representation to unstable ABI (PR #139632)

2025-08-27 Thread Christopher Di Bella via lldb-commits
cjdb wrote: Ping https://github.com/llvm/llvm-project/pull/139632 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

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

2025-08-27 Thread Thurston Dang via lldb-commits
@@ -166,7 +174,9 @@ Non-comprehensive list of changes in this release New Compiler Flags -- -- New option ``-fno-sanitize-annotate-debug-info-traps`` added to disable emitting trap reasons into the debug info when compiling with trapping UBSan (e.g. ``-fsanit

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

2025-08-27 Thread Thurston Dang via lldb-commits
@@ -125,14 +125,22 @@ Non-comprehensive list of changes in this release - Added ``__builtin_elementwise_minnumnum`` and ``__builtin_elementwise_maxnumnum``. -- Trapping UBSan (e.g. ``-fsanitize-trap=undefined``) now emits a string describing the reason for - trapping into

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

2025-08-27 Thread Thurston Dang via lldb-commits
https://github.com/thurstond approved this pull request. https://github.com/llvm/llvm-project/pull/154618 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [LLDB] Omit loading local symbols in LLDB symbol table (PR #154809)

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

[Lldb-commits] [lldb] WIP: Stop using replicated variable ids (PR #124232)

2025-08-27 Thread Med Ismail Bennani via lldb-commits
medismailben wrote: Sounds good, let me know when you're ready 🙂 https://github.com/llvm/llvm-project/pull/124232 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

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

2025-08-27 Thread Dan Liew via lldb-commits
delcypher wrote: @vitalybuka Thanks for approving. I think I addressed everyone's comments so I'm going to rebase, check everything still works, and then land. https://github.com/llvm/llvm-project/pull/154618 ___ lldb-commits mailing list lldb-commits

[Lldb-commits] [lldb] WIP: Stop using replicated variable ids (PR #124232)

2025-08-27 Thread Anthony Eid via lldb-commits
https://github.com/Anthony-Eid updated https://github.com/llvm/llvm-project/pull/124232 >From 30658e994b18b7c0db114a297036421c8de2dea3 Mon Sep 17 00:00:00 2001 From: Anthony Date: Wed, 27 Aug 2025 13:04:26 -0400 Subject: [PATCH 1/2] Fix variable request from reusing variable_ids --- .../lldb-

[Lldb-commits] [lldb] WIP: Stop using replicated variable ids (PR #124232)

2025-08-27 Thread Anthony Eid via lldb-commits
Anthony-Eid wrote: @medismailben I fixed most of extra lines being added in the PR, but it's not 100% working in the new version. I'll ping you when it's functional. I believe I'm mainly going to need help rewriting the tests once I get this functionality and following any llvm standards that

[Lldb-commits] [lldb] [llvm] Stateful variable-location annotations in Disassembler::PrintInstructions() (follow-up to #147460) (PR #152887)

2025-08-27 Thread Adrian Prantl via lldb-commits
https://github.com/adrian-prantl approved this pull request. LGTM once the outstanding comments are addressed. Thanks for all the hard work! https://github.com/llvm/llvm-project/pull/152887 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http

[Lldb-commits] [lldb] WIP: Stop using replicated variable ids (PR #124232)

2025-08-27 Thread Anthony Eid via lldb-commits
https://github.com/Anthony-Eid updated https://github.com/llvm/llvm-project/pull/124232 >From 30658e994b18b7c0db114a297036421c8de2dea3 Mon Sep 17 00:00:00 2001 From: Anthony Date: Wed, 27 Aug 2025 13:04:26 -0400 Subject: [PATCH] Fix variable request from reusing variable_ids --- .../lldb-dap/

[Lldb-commits] [lldb] [llvm] Stateful variable-location annotations in Disassembler::PrintInstructions() (follow-up to #147460) (PR #152887)

2025-08-27 Thread Abdullah Mohammad Amin via lldb-commits
UltimateForce21 wrote: > LGTM once the outstanding comments are addressed. Thanks for all the hard > work! Thank you for all the feedback! I'm addressing the outstanding comments right now. Really appreciate all the guidance and support throughout the whole it's been a great learning experien

[Lldb-commits] [lldb] [llvm] Stateful variable-location annotations in Disassembler::PrintInstructions() (follow-up to #147460) (PR #152887)

2025-08-27 Thread Adrian Prantl via lldb-commits
@@ -376,6 +382,148 @@ void Disassembler::PrintInstructions(Debugger &debugger, const ArchSpec &arch, } } + // Add rich variable location annotations to the disassembly output. + // + // For each instruction, this block attempts to resolve in-scope variables + // and

[Lldb-commits] [lldb] [lldb] Fix a typo in --one-shot description (NFC) (PR #155637)

2025-08-27 Thread Dave Lee via lldb-commits
https://github.com/kastiglione closed https://github.com/llvm/llvm-project/pull/155637 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [llvm] Stateful variable-location annotations in Disassembler::PrintInstructions() (follow-up to #147460) (PR #152887)

2025-08-27 Thread Adrian Prantl via lldb-commits
@@ -154,6 +154,10 @@ Status CommandObjectDisassemble::CommandOptions::SetOptionValue( } } break; + case 'v': //< --rich variable annotations adrian-prantl wrote: ```suggestion case 'v': ``` https://github.com/llvm/llvm-project/pull/152887 _

[Lldb-commits] [lldb] 90d429c - [lldb] Fix a typo in --one-shot description (NFC) (#155637)

2025-08-27 Thread via lldb-commits
Author: Dave Lee Date: 2025-08-27T09:55:48-07:00 New Revision: 90d429ca5762264ff932995a2bdce2fc2f155688 URL: https://github.com/llvm/llvm-project/commit/90d429ca5762264ff932995a2bdce2fc2f155688 DIFF: https://github.com/llvm/llvm-project/commit/90d429ca5762264ff932995a2bdce2fc2f155688.diff LOG:

[Lldb-commits] [lldb] [llvm] Stateful variable-location annotations in Disassembler::PrintInstructions() (follow-up to #147460) (PR #152887)

2025-08-27 Thread Abdullah Mohammad Amin via lldb-commits
@@ -376,6 +382,148 @@ void Disassembler::PrintInstructions(Debugger &debugger, const ArchSpec &arch, } } + // Add rich variable location annotations to the disassembly output. + // + // For each instruction, this block attempts to resolve in-scope variables + // and

[Lldb-commits] [lldb] [llvm] Stateful variable-location annotations in Disassembler::PrintInstructions() (follow-up to #147460) (PR #152887)

2025-08-27 Thread Abdullah Mohammad Amin via lldb-commits
@@ -376,6 +382,148 @@ void Disassembler::PrintInstructions(Debugger &debugger, const ArchSpec &arch, } } + // Add rich variable location annotations to the disassembly output. + // + // For each instruction, this block attempts to resolve in-scope variables + // and

[Lldb-commits] [clang] [clang-tools-extra] [lldb] [clang] NFC: Provide inline definitions for {get, cast}TagDecl and friends (PR #155051)

2025-08-27 Thread Matheus Izvekov via lldb-commits
https://github.com/mizvekov edited https://github.com/llvm/llvm-project/pull/155051 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [clang] [clang-tools-extra] [lldb] [clang] NFC: reintroduce clang/include/clang/AST/Type.h (PR #155050)

2025-08-27 Thread Matheus Izvekov via lldb-commits
https://github.com/mizvekov closed https://github.com/llvm/llvm-project/pull/155050 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [clang] [clang-tools-extra] [lldb] [clang] NFC: reintroduce clang/include/clang/AST/Type.h (PR #155050)

2025-08-27 Thread Matheus Izvekov via lldb-commits
https://github.com/mizvekov edited https://github.com/llvm/llvm-project/pull/155050 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [clang] [clang-tools-extra] [lldb] [clang] NFC: rename clang/include/clang/AST/Type.h to TypeBase.h (PR #155049)

2025-08-27 Thread Matheus Izvekov via lldb-commits
https://github.com/mizvekov closed https://github.com/llvm/llvm-project/pull/155049 ___ 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 typo in --one-shot description (NFC) (PR #155637)

2025-08-27 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Dave Lee (kastiglione) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/155637.diff 1 Files Affected: - (modified) lldb/source/Commands/Options.td (+1-1) ``diff diff --git a/lldb/source/Commands/Options.td b/l

[Lldb-commits] [lldb] [lldb] Fix a typo in --one-shot description (NFC) (PR #155637)

2025-08-27 Thread Dave Lee via lldb-commits
https://github.com/kastiglione created https://github.com/llvm/llvm-project/pull/155637 None >From 6e8a5f3e782e30a18b6910489c1ecfce7b38d977 Mon Sep 17 00:00:00 2001 From: Dave Lee Date: Wed, 27 Aug 2025 08:24:02 -0700 Subject: [PATCH] [lldb] Fix a typo in --one-shot description (NFC) --- lld

[Lldb-commits] [lldb] [vscode-lldb] Support lldb-dap environment in debug configuration (PR #153536)

2025-08-27 Thread Walter Erquinigo via lldb-commits
https://github.com/walter-erquinigo approved this pull request. well, this looks good to me. Thanks! https://github.com/llvm/llvm-project/pull/153536 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listi

[Lldb-commits] [clang] [lldb] [llvm] [lldb][Expression] Add structor variant to LLDB's function call labels (PR #149827)

2025-08-27 Thread Michael Buch via lldb-commits
https://github.com/Michael137 updated https://github.com/llvm/llvm-project/pull/149827 >From 5d75d1679d492df1a72c4013afde052f7b6195dd Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Mon, 18 Aug 2025 15:12:45 +0100 Subject: [PATCH 1/5] [llvm][DebugInfo] Support DW_AT_linkage_names that are di

  1   2   >