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

2025-07-09 Thread Pavel Labath via lldb-commits
labath wrote: There are a couple of failures in the CI. The backtraces don't make a whole lot sense, but it looks like there's something wrong with retrieving the list of variables from a CU. https://github.com/llvm/llvm-project/pull/147887 ___ lldb-

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

2025-07-09 Thread Jason Molenda via lldb-commits
https://github.com/jasonmolenda edited 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] make PlatformAndroid/AdbClient::GetSyncService threadsafe (PR #145382)

2025-07-09 Thread Chad Smith via lldb-commits
cs01 wrote: I added some logs to better understand and debug what's going on. Here are some results from my testing. In lldb, turn on logs ``` (lldb) log enable -f /tmp/lldb.log lldb platform ``` then open /tmp/lldb.log: ``` lldb-dap PlatformAndroid::CreateInstance(force=true, arch={,

[Lldb-commits] [lldb] [lldb-dap] Migrate variables request protocol types. (PR #147611)

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

[Lldb-commits] [lldb] [lldb] Add DWARFExpressionEntry and GetExpressionEntryAtAddress() to … (PR #144238)

2025-07-09 Thread Abdullah Mohammad Amin via lldb-commits
https://github.com/UltimateForce21 updated https://github.com/llvm/llvm-project/pull/144238 >From 8ed8c540e7600d720a63bc2882a81a2c65c11d41 Mon Sep 17 00:00:00 2001 From: ultimateforce21 Date: Wed, 11 Jun 2025 00:11:09 -0400 Subject: [PATCH 01/12] [lldb] Add DWARFExpressionEntry and GetExpressi

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

2025-07-09 Thread Jason Molenda via lldb-commits
https://github.com/jasonmolenda edited 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][AArch64] Fix arm64 hardware breakpoint/watchpoint to arm32 process. (PR #147198)

2025-07-09 Thread via lldb-commits
b10902118 wrote: > > So the solution is copying the implementation in > > NativeRegisterContextLinux_arm64.cpp. > > Yes, try putting the 64-bit code in a separate file in Process/Linux then > using it in both places. > > Currently arm64 includes the arm header, for reasons I am not sure, so i

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

2025-07-09 Thread Jason Molenda via lldb-commits
jasonmolenda wrote: If you look at an existing EmulateInstruction target plugin that we live on today, such as ARM64, it returns context types for `UnwindAssemblyInstEmulation` like ``` eContextAdjustBaseRegister eContextAdjustStackPointer eContextAdvancePC eContextImmediate eContextPopRegist

[Lldb-commits] [lldb] [lldb] Support specifying a language for breakpoint conditions (PR #147603)

2025-07-09 Thread via lldb-commits
@@ -129,14 +129,10 @@ class BreakpointLocation /// /// \param[in] condition ///The condition expression to evaluate when the breakpoint is hit. jimingham wrote: You removed the word "expression" from the help in Breakpoint.h, it's confusing to have

[Lldb-commits] [lldb] [lldb][test] Move std::function from libcxx to generic directory (PR #147701)

2025-07-09 Thread Michael Buch via lldb-commits
https://github.com/Michael137 updated https://github.com/llvm/llvm-project/pull/147701 >From 4045243ed2f069eed0ef1de5c07d2a633c248225 Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Wed, 9 Jul 2025 13:20:04 +0100 Subject: [PATCH 1/3] [lldb][test] Move std::function from libcxx to generic dir

[Lldb-commits] [lldb] Reland "[lldb][RPC] Upstream lldb-rpc-gen tool" (#146969) (PR #147417)

2025-07-09 Thread Chelsea Cassanova via lldb-commits
chelcassanova wrote: @slydiman > What linux remote bots are you talking about? Everything worked. Looks like > we need to revert this PR ASAP because it broke too much. I reverted this PR, when I had landed the original PR it failed on the `lldb-remote-linux-ubuntu` bot. When I tried to rela

[Lldb-commits] [lldb] [lldb] Document the SBDebugger public interface (PR #147621)

2025-07-09 Thread Alex Langford via lldb-commits
@@ -292,200 +594,367 @@ class LLDB_API SBDebugger { /// "platform list" command. uint32_t GetNumAvailablePlatforms(); - /// Get the name and description of one of the available platforms. + /// Get information about one of the available platforms. /// /// \param[in

[Lldb-commits] [lldb] [lldb] Document the SBDebugger public interface (PR #147621)

2025-07-09 Thread Alex Langford via lldb-commits
https://github.com/bulbazord approved this pull request. https://github.com/llvm/llvm-project/pull/147621 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] Reland "[lldb][RPC] Upstream lldb-rpc-gen tool" (#146969) (PR #147417)

2025-07-09 Thread Dmitry Vasilyev via lldb-commits
slydiman wrote: @chelcassanova > Relands the commit to upstream the lldb-rpc-gen tool in order to fix a build > failure on the linux remote bots. What `linux remote bots` are you talking about? Everything worked. Looks like we need to revert this PR ASAP because it broke too much. https://g

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

2025-07-09 Thread via lldb-commits
https://github.com/Nerixyz updated https://github.com/llvm/llvm-project/pull/147575 >From 8894b65deda77e10ca7c035670d17f2166fd58a7 Mon Sep 17 00:00:00 2001 From: Nerixyz Date: Tue, 8 Jul 2025 18:40:06 +0200 Subject: [PATCH 1/5] [LLDB] Add formatters for MSVC STL std::shared_ptr --- .../Plugin

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

2025-07-09 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: John Harrison (ashgti) Changes Originally commited in 362b9d78b4ee9107da2b5e90b3764b0f0fa610fe and then reverted in cb63b75e32a415c9bfc298ed7fdcd67e8d9de54c. This re-lands a subset of the changes to dap_server.py/DebugCommunication and ad

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

2025-07-09 Thread John Harrison via lldb-commits
https://github.com/ashgti created https://github.com/llvm/llvm-project/pull/147787 Originally commited in 362b9d78b4ee9107da2b5e90b3764b0f0fa610fe and then reverted in cb63b75e32a415c9bfc298ed7fdcd67e8d9de54c. This re-lands a subset of the changes to dap_server.py/DebugCommunication and addre

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

2025-07-09 Thread Christopher Di Bella via lldb-commits
cjdb wrote: You're right that it's not _strictly_ necessary, but it makes the code **substantially** simpler when they're coupled. Otherwise, we need to convert from using a size-based vector to a pointer-based `__split_buffer`, which I found to be confusing

[Lldb-commits] [lldb] Reland "[lldb][RPC] Upstream lldb-rpc-gen tool" (#146969) (PR #147417)

2025-07-09 Thread Dmitry Vasilyev via lldb-commits
slydiman wrote: The buildbot lldb-remote-linux-ubuntu is broken https://lab.llvm.org/buildbot/#/builders/195/builds/11604 ``` /home/buildbot/worker/as-builder-9/lldb-remote-linux-ubuntu/llvm-project/lldb/include/lldb/lldb-enumerations.h:12:10: fatal error: 'cstdint' file not found ``` https://g

[Lldb-commits] [lldb] [lldb] Document the SBDebugger public interface (PR #147621)

2025-07-09 Thread Jonas Devlieghere via lldb-commits
https://github.com/JDevlieghere updated https://github.com/llvm/llvm-project/pull/147621 >From af54eaf253b1840abb721c3e584d9936fad12c8a Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Tue, 8 Jul 2025 16:37:20 -0700 Subject: [PATCH 1/3] [lldb] Document the SBDebugger public interface Des

[Lldb-commits] [lldb] Draft: [LLDB] Add scalar literal node (PR #147064)

2025-07-09 Thread Ilia Kuklin via lldb-commits
kuilpd wrote: > but I can also imagine doing something like python's "arbitrary width" > integers. Isn't this basically `llvm::APInt` class? We could just disregard every integer's type, add their values as `APInt` and return the result with a maximum width integer type. I kind of like this p

[Lldb-commits] [lldb] [lldb] Document the SBDebugger public interface (PR #147621)

2025-07-09 Thread Jonas Devlieghere via lldb-commits
https://github.com/JDevlieghere updated https://github.com/llvm/llvm-project/pull/147621 >From af54eaf253b1840abb721c3e584d9936fad12c8a Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Tue, 8 Jul 2025 16:37:20 -0700 Subject: [PATCH 1/2] [lldb] Document the SBDebugger public interface Des

[Lldb-commits] [lldb] [lldb] Document the SBDebugger public interface (PR #147621)

2025-07-09 Thread Jonas Devlieghere via lldb-commits
@@ -153,70 +249,221 @@ class LLDB_API SBDebugger { /// lldb::SBStructuredData settings = debugger.GetSetting("target.arg0"); /// lldb::SBStructuredData settings = debugger.GetSetting("target"); /// - /// \param[out] setting + /// \param[in] setting /// Property set

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

2025-07-09 Thread Louis Dionne via lldb-commits
@@ -184,67 +172,299 @@ 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_FR

[Lldb-commits] [lldb] [lldb] Document the SBDebugger public interface (PR #147621)

2025-07-09 Thread Jonas Devlieghere via lldb-commits
@@ -106,44 +124,122 @@ class LLDB_API SBDebugger { bool &is_debugger_specific); #endif + /// Get structured progress data from an event. + /// + /// \param [in] event + /// The event to extract the progress information from. + /

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

2025-07-09 Thread Louis Dionne via lldb-commits
ldionne wrote: Actually, enabling the size-based vector doesn't technically require these changes to `__split_buffer` AFAICT, since we only ever use `__split_buffer` as an implementation detail, and the representation of `__split_buffer` has no impact on the

[Lldb-commits] [lldb] [lldb] Document the SBDebugger public interface (PR #147621)

2025-07-09 Thread Med Ismail Bennani via lldb-commits
@@ -153,70 +249,221 @@ class LLDB_API SBDebugger { /// lldb::SBStructuredData settings = debugger.GetSetting("target.arg0"); /// lldb::SBStructuredData settings = debugger.GetSetting("target"); /// - /// \param[out] setting + /// \param[in] setting /// Property set

[Lldb-commits] [lldb] [lldb] Support specifying a language for breakpoint conditions (PR #147603)

2025-07-09 Thread Jonas Devlieghere via lldb-commits
https://github.com/JDevlieghere updated https://github.com/llvm/llvm-project/pull/147603 >From 7aa2ae6b97dd933afdcf59984d20a659ad59ab79 Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Tue, 8 Jul 2025 14:55:59 -0700 Subject: [PATCH] [lldb] Support specifying a language for breakpoint con

[Lldb-commits] [lldb] [lldb] Document the SBDebugger public interface (PR #147621)

2025-07-09 Thread Med Ismail Bennani via lldb-commits
@@ -106,44 +124,122 @@ class LLDB_API SBDebugger { bool &is_debugger_specific); #endif + /// Get structured progress data from an event. + /// + /// \param [in] event + /// The event to extract the progress information from. + /

[Lldb-commits] [lldb] [lldb] Document the SBDebugger public interface (PR #147621)

2025-07-09 Thread Med Ismail Bennani via lldb-commits
@@ -106,44 +124,122 @@ class LLDB_API SBDebugger { bool &is_debugger_specific); #endif + /// Get structured progress data from an event. + /// + /// \param [in] event + /// The event to extract the progress information from. + /

[Lldb-commits] [lldb] [lldb] Document the SBDebugger public interface (PR #147621)

2025-07-09 Thread Med Ismail Bennani via lldb-commits
@@ -106,44 +124,122 @@ class LLDB_API SBDebugger { bool &is_debugger_specific); #endif + /// Get structured progress data from an event. medismailben wrote: nit: ```suggestion /// Get progress structured data from

[Lldb-commits] [lldb] [lldb] Support specifying a language for breakpoint conditions (PR #147603)

2025-07-09 Thread Jonas Devlieghere via lldb-commits
@@ -42,17 +52,21 @@ def setUp(self): "main.c", "// Find the line number of c's parent call here." ) -def breakpoint_conditions(self, inline=False): +def breakpoint_conditions(self, inline=False, language=None): """Exercise breakpoint condit

[Lldb-commits] [lldb] [lldb] Support specifying a language for breakpoint conditions (PR #147603)

2025-07-09 Thread Jonas Devlieghere via lldb-commits
https://github.com/JDevlieghere updated https://github.com/llvm/llvm-project/pull/147603 >From 9e4ce45f9d5957b80c0e9b00c03bd29308be66b1 Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Tue, 8 Jul 2025 14:55:59 -0700 Subject: [PATCH] [lldb] Support specifying a language for breakpoint con

[Lldb-commits] [lldb] [lldb] Document the SBDebugger public interface (PR #147621)

2025-07-09 Thread Med Ismail Bennani via lldb-commits
medismailben wrote: > We definitely need more documentation, but I do sometimes get annoyed by it > when it obscures browsing through the source code by stretching out the class > definition. If that includes important information about the API, then I > think it's worth it, but some of these

[Lldb-commits] [lldb] Revert "Reland "[lldb][RPC] Upstream lldb-rpc-gen tool" (#146969)" (PR #147779)

2025-07-09 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Chelsea Cassanova (chelcassanova) Changes Reverts llvm/llvm-project#147417. Failing an assert: `lldb-rpc-gen: ../llvm-project/lldb/tools/lldb-rpc/lldb-rpc-gen/server/RPCServerSourceEmitter.cpp:361: void lldb_rpc_gen::RPCServerSourceEmitter

[Lldb-commits] [lldb] Revert "Reland "[lldb][RPC] Upstream lldb-rpc-gen tool" (#146969)" (PR #147779)

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

[Lldb-commits] [lldb] 76a841a - Revert "Reland "[lldb][RPC] Upstream lldb-rpc-gen tool" (#146969)" (#147779)

2025-07-09 Thread via lldb-commits
Author: Chelsea Cassanova Date: 2025-07-09T09:39:30-07:00 New Revision: 76a841a5e6f696890ce6abf6f11bd9915f1d77d9 URL: https://github.com/llvm/llvm-project/commit/76a841a5e6f696890ce6abf6f11bd9915f1d77d9 DIFF: https://github.com/llvm/llvm-project/commit/76a841a5e6f696890ce6abf6f11bd9915f1d77d9.d

[Lldb-commits] [lldb] Revert "Reland "[lldb][RPC] Upstream lldb-rpc-gen tool" (#146969)" (PR #147779)

2025-07-09 Thread Chelsea Cassanova via lldb-commits
https://github.com/chelcassanova created https://github.com/llvm/llvm-project/pull/147779 Reverts llvm/llvm-project#147417. Failing an assert: `lldb-rpc-gen: ../llvm-project/lldb/tools/lldb-rpc/lldb-rpc-gen/server/RPCServerSourceEmitter.cpp:361: void lldb_rpc_gen::RPCServerSourceEmitter::EmitM

[Lldb-commits] [clang] [clang-tools-extra] [libcxx] [lldb] [Clang] Make the SizeType, SignedSizeType and PtrdiffType be named sugar types instead of built-in types (PR #143653)

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

[Lldb-commits] [lldb] [lldb] Support specifying a language for breakpoint conditions (PR #147603)

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

[Lldb-commits] [lldb] [lldb] Support specifying a language for breakpoint conditions (PR #147603)

2025-07-09 Thread Jonas Devlieghere via lldb-commits
@@ -0,0 +1,53 @@ +//===--===// +// +// 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] Reland "[lldb][RPC] Upstream lldb-rpc-gen tool" (#146969) (PR #147417)

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

[Lldb-commits] [lldb] afc82ce - Reland "[lldb][RPC] Upstream lldb-rpc-gen tool" (#146969) (#147417)

2025-07-09 Thread via lldb-commits
Author: Chelsea Cassanova Date: 2025-07-09T09:19:42-07:00 New Revision: afc82ce3aa56670101495d7f328d938f55ccaf8b URL: https://github.com/llvm/llvm-project/commit/afc82ce3aa56670101495d7f328d938f55ccaf8b DIFF: https://github.com/llvm/llvm-project/commit/afc82ce3aa56670101495d7f328d938f55ccaf8b.d

[Lldb-commits] [lldb] Reland "[lldb][RPC] Upstream lldb-rpc-gen tool" (#146969) (PR #147417)

2025-07-09 Thread Chelsea Cassanova via lldb-commits
https://github.com/chelcassanova edited https://github.com/llvm/llvm-project/pull/147417 ___ 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-09 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: David Peixotto (dmpots) Changes This commit adds completion support for the plugin commands. It will try to complete partial namespaces to the full namespace string. If the completion input is already a full namespace string then it will a

[Lldb-commits] [lldb] [lldb] Support specifying a language for breakpoint conditions (PR #147603)

2025-07-09 Thread Jonas Devlieghere via lldb-commits
@@ -173,7 +173,7 @@ const char *SBBreakpointLocation::GetCondition() { std::lock_guard guard( loc_sp->GetTarget().GetAPIMutex()); - return ConstString(loc_sp->GetConditionText()).GetCString(); + return ConstString(loc_sp->GetCondition().GetText()).GetCString(); -

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

2025-07-09 Thread David Peixotto via lldb-commits
https://github.com/dmpots created https://github.com/llvm/llvm-project/pull/147775 This commit adds completion support for the plugin commands. It will try to complete partial namespaces to the full namespace string. If the completion input is already a full namespace string then it will add a

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

2025-07-09 Thread Chelsea Cassanova via lldb-commits
https://github.com/chelcassanova updated https://github.com/llvm/llvm-project/pull/147655 >From 899439d378923f22af7b11b99cafa1789ed436a7 Mon Sep 17 00:00:00 2001 From: Chelsea Cassanova Date: Wed, 2 Jul 2025 00:17:31 -0700 Subject: [PATCH] [lldb][rpc] Upstream RPC Client Library Emitters This

[Lldb-commits] [lldb] [lldb] Support specifying a language for breakpoint conditions (PR #147603)

2025-07-09 Thread Jonas Devlieghere via lldb-commits
@@ -0,0 +1,53 @@ +//===--===// +// +// 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] Enable SWIG Doxygen Translation (PR #147617)

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

[Lldb-commits] [lldb] 2756ba5 - [lldb] Enable SWIG Doxygen Translation (#147617)

2025-07-09 Thread via lldb-commits
Author: Jonas Devlieghere Date: 2025-07-09T09:13:57-07:00 New Revision: 2756ba57f1541d63af0fd01f9fda773d88dcc3b5 URL: https://github.com/llvm/llvm-project/commit/2756ba57f1541d63af0fd01f9fda773d88dcc3b5 DIFF: https://github.com/llvm/llvm-project/commit/2756ba57f1541d63af0fd01f9fda773d88dcc3b5.d

[Lldb-commits] [lldb] [lldb][test] Move std::function from libcxx to generic directory (PR #147701)

2025-07-09 Thread Michael Buch via lldb-commits
https://github.com/Michael137 updated https://github.com/llvm/llvm-project/pull/147701 >From 4045243ed2f069eed0ef1de5c07d2a633c248225 Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Wed, 9 Jul 2025 13:20:04 +0100 Subject: [PATCH 1/2] [lldb][test] Move std::function from libcxx to generic dir

[Lldb-commits] [lldb] [lldb-dap] Test Gardening, Breakpoints. (PR #141983)

2025-07-09 Thread John Harrison via lldb-commits
https://github.com/ashgti converted_to_draft https://github.com/llvm/llvm-project/pull/141983 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb-dap] Test gardening, enabling tests and improving doc comments. (PR #140777)

2025-07-09 Thread John Harrison via lldb-commits
https://github.com/ashgti converted_to_draft https://github.com/llvm/llvm-project/pull/140777 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [llvm] Annotate disassembly with register‐resident variable locations (PR #147460)

2025-07-09 Thread Abdullah Mohammad Amin via lldb-commits
https://github.com/UltimateForce21 updated https://github.com/llvm/llvm-project/pull/147460 >From 8ed8c540e7600d720a63bc2882a81a2c65c11d41 Mon Sep 17 00:00:00 2001 From: ultimateforce21 Date: Wed, 11 Jun 2025 00:11:09 -0400 Subject: [PATCH 01/20] [lldb] Add DWARFExpressionEntry and GetExpressi

[Lldb-commits] [lldb] [lldb][lldb-dap] Added support for "WriteMemory" request. (PR #131820)

2025-07-09 Thread John Harrison via lldb-commits
https://github.com/ashgti edited https://github.com/llvm/llvm-project/pull/131820 ___ 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] Added support for "WriteMemory" request. (PR #131820)

2025-07-09 Thread John Harrison via lldb-commits
https://github.com/ashgti approved this pull request. Looks good to me! https://github.com/llvm/llvm-project/pull/131820 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb][test] Move std::initializer_list from libcxx to generic directory (PR #147702)

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

[Lldb-commits] [lldb] e7c9f29 - [lldb][test] Move std::initializer_list from libcxx to generic directory (#147702)

2025-07-09 Thread via lldb-commits
Author: Michael Buch Date: 2025-07-09T16:40:23+01:00 New Revision: e7c9f29fc5c44a79de9a64b12a7318c503ebb87d URL: https://github.com/llvm/llvm-project/commit/e7c9f29fc5c44a79de9a64b12a7318c503ebb87d DIFF: https://github.com/llvm/llvm-project/commit/e7c9f29fc5c44a79de9a64b12a7318c503ebb87d.diff

[Lldb-commits] [lldb] [lldb][test] Move std::function from libcxx to generic directory (PR #147701)

2025-07-09 Thread Michael Buch via lldb-commits
https://github.com/Michael137 updated https://github.com/llvm/llvm-project/pull/147701 >From 4045243ed2f069eed0ef1de5c07d2a633c248225 Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Wed, 9 Jul 2025 13:20:04 +0100 Subject: [PATCH 1/2] [lldb][test] Move std::function from libcxx to generic dir

[Lldb-commits] [lldb] [lldb][test] Move std::initializer_list from libcxx to generic directory (PR #147702)

2025-07-09 Thread Michael Buch via lldb-commits
https://github.com/Michael137 updated https://github.com/llvm/llvm-project/pull/147702 >From 0b995316a9cca1f766b20778eb80b897130f5cca Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Wed, 9 Jul 2025 13:15:06 +0100 Subject: [PATCH 1/2] [lldb][test] Move std::initializer_list from libcxx to gen

[Lldb-commits] [lldb] [lldb][test] Merge MSVC STL std::(u8)string tests into generic directory (PR #147525)

2025-07-09 Thread Michael Buch via lldb-commits
Michael137 wrote: > The buildbot lldb-x86_64-win is broken after this patch > https://lab.llvm.org/buildbot/#/builders/211/builds/361 > > ``` > FAIL: lldb-api::TestDataFormatterStdU8String.py > FAIL: lldb-api::TestDataFormatterStdString.py > ``` Should've been fixed by https://github.com/llvm

[Lldb-commits] [lldb] [lldb] deactivate some tests on older SDKs (PR #147768)

2025-07-09 Thread Charles Zablit via lldb-commits
charles-zablit wrote: Deactivating these tests allows the CI to pass on the Apple bots: https://github.com/swiftlang/llvm-project/pull/10971 https://github.com/llvm/llvm-project/pull/147768 ___ lldb-commits mailing list lldb-commits@lists.llvm.org htt

[Lldb-commits] [lldb] [lldb] deactivate some tests on older SDKs (PR #147768)

2025-07-09 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Charles Zablit (charles-zablit) Changes https://github.com/llvm/llvm-project/pull/144913 was reverted because some of the Darwin tests were failing on SDKs prior to `15.0`. This config is not supported (having a version of lldb which is mo

[Lldb-commits] [lldb] [lldb][test] Merge MSVC STL std::(u8)string tests into generic directory (PR #147525)

2025-07-09 Thread Dmitry Vasilyev via lldb-commits
slydiman wrote: The buildbot lldb-x86_64-win is broken after this patch https://lab.llvm.org/buildbot/#/builders/211/builds/361 ``` FAIL: lldb-api::TestDataFormatterStdU8String.py FAIL: lldb-api::TestDataFormatterStdString.py ``` https://github.com/llvm/llvm-project/pull/147525 _

[Lldb-commits] [lldb] [lldb] deactivate some tests on older SDKs (PR #147768)

2025-07-09 Thread Charles Zablit via lldb-commits
https://github.com/charles-zablit created https://github.com/llvm/llvm-project/pull/147768 https://github.com/llvm/llvm-project/pull/144913 was reverted because some of the Darwin tests were failing on SDKs prior to `15.0`. This config is not supported (having a version of lldb which is more r

[Lldb-commits] [lldb] cbb2ef3 - [lldb][test] Fix MSVC std::string formatter tests

2025-07-09 Thread Michael Buch via lldb-commits
Author: Michael Buch Date: 2025-07-09T16:09:20+01:00 New Revision: cbb2ef3835df827b2809f4dedce6687626f30f5c URL: https://github.com/llvm/llvm-project/commit/cbb2ef3835df827b2809f4dedce6687626f30f5c DIFF: https://github.com/llvm/llvm-project/commit/cbb2ef3835df827b2809f4dedce6687626f30f5c.diff

[Lldb-commits] [lldb] [lldb][AArch64] Fix arm64 hardware breakpoint/watchpoint to arm32 process. (PR #147198)

2025-07-09 Thread via lldb-commits
b10902118 wrote: > > the test > > By this you mean it skips any test that requires hardware breakpoints? Or you > mean that in the general course of using lldb it doesn't use hardware > breakpoints because of this? > > (I assume you could make the test suite launch all debugees as AArch32 but

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

2025-07-09 Thread via lldb-commits
@@ -0,0 +1,295 @@ +//===-- 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-09 Thread via lldb-commits
@@ -58,6 +63,38 @@ int main() { vBool.push_back(true); vBool.push_back(false); vBool.push_back(true); + + // 48..=55 + vBool.push_back(true); + vBool.push_back(true); + vBool.push_back(false); + vBool.push_back(true); + vBool.push_back(false); + vBool.push_back(tru

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

2025-07-09 Thread via lldb-commits
@@ -1636,6 +1622,36 @@ static void LoadCommonStlFormatters(lldb::TypeCategoryImplSP cpp_category_sp) { return LibStdcppStringSummaryProvider(valobj, stream, options); }, "MSVC STL/libstdc++ std::wstring summary provider")); + + auto smart_ptr_c

[Lldb-commits] [lldb] Draft: [LLDB] Add scalar literal node (PR #147064)

2025-07-09 Thread Pavel Labath via lldb-commits
labath wrote: Personally, I'd be fine with saying that anytime we start doing arithmetic on something (maybe, whenever we do a lvalue-to-rvalue conversion?) we switch to a "DIL" type system. We could make that "type system" work mostly like C, but I can also imagine doing something like python

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

2025-07-09 Thread via lldb-commits
@@ -16,7 +16,7 @@ lldb::ValueObjectSP lldb_private::formatters::GetDesugaredSmartPointerValue( auto arg = container_type.GetTypeTemplateArgument(0); if (!arg) -return nullptr; +return ptr.GetSP(); // FIXME: PDB doesn't have info about template arguments -

[Lldb-commits] [lldb] [lldb] Support specifying a language for breakpoint conditions (PR #147603)

2025-07-09 Thread Mike Ash via lldb-commits
@@ -42,17 +52,21 @@ def setUp(self): "main.c", "// Find the line number of c's parent call here." ) -def breakpoint_conditions(self, inline=False): +def breakpoint_conditions(self, inline=False, language=None): """Exercise breakpoint condit

[Lldb-commits] [lldb] [LLDB] fix formatting issue (PR #147734)

2025-07-09 Thread Yaxun Liu via lldb-commits
yxsamliu wrote: it seems it is already fixed. thanks https://github.com/llvm/llvm-project/pull/147734 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [LLDB] fix formatting issue (PR #147734)

2025-07-09 Thread Yaxun Liu via lldb-commits
https://github.com/yxsamliu closed https://github.com/llvm/llvm-project/pull/147734 ___ 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::vector (PR #147538)

2025-07-09 Thread Michael Buch via lldb-commits
@@ -0,0 +1,295 @@ +//===-- 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-09 Thread Michael Buch via lldb-commits
@@ -88,3 +102,9 @@ def test_libstdcxx_debug(self): dictionary={"USE_LIBSTDCPP": 1, "CXXFLAGS_EXTRAS": "-D_GLIBCXX_DEBUG"} ) self.do_test() + +@add_test_categories(["msvcstl"]) +def test_libstdcxx(self): +# No flags, because the "msvc

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

2025-07-09 Thread Michael Buch via lldb-commits
https://github.com/Michael137 commented: Generally seems reasonable. Just left some preliminary questions Will revisit later https://github.com/llvm/llvm-project/pull/147538 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.

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

2025-07-09 Thread Michael Buch via lldb-commits
@@ -58,6 +63,38 @@ int main() { vBool.push_back(true); vBool.push_back(false); vBool.push_back(true); + + // 48..=55 + vBool.push_back(true); + vBool.push_back(true); + vBool.push_back(false); + vBool.push_back(true); + vBool.push_back(false); + vBool.push_back(tru

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

2025-07-09 Thread Michael Buch via lldb-commits
https://github.com/Michael137 edited 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] fix formatting issue (PR #147734)

2025-07-09 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Yaxun (Sam) Liu (yxsamliu) Changes introduced by https://github.com/llvm/llvm-project/pull/147727 --- Full diff: https://github.com/llvm/llvm-project/pull/147734.diff 2 Files Affected: - (modified) lldb/source/Plugins/ExpressionParser/C

[Lldb-commits] [lldb] [LLDB] fix formatting issue (PR #147734)

2025-07-09 Thread Yaxun Liu via lldb-commits
https://github.com/yxsamliu created https://github.com/llvm/llvm-project/pull/147734 introduced by https://github.com/llvm/llvm-project/pull/147727 >From a3fb9ec3f2bb82c3120190eab267cdc7e9124c63 Mon Sep 17 00:00:00 2001 From: "Yaxun (Sam) Liu" Date: Wed, 9 Jul 2025 09:52:26 -0400 Subject: [PAT

[Lldb-commits] [lldb] 2d030b0 - [lldb][Expression][NFC] Run clang-format on ClangExpressionParser.cpp and ClangModulesDeclVendor.cpp

2025-07-09 Thread Michael Buch via lldb-commits
Author: Michael Buch Date: 2025-07-09T15:00:24+01:00 New Revision: 2d030b0ecdb32b7b6b9d47f66182db7e2dafa026 URL: https://github.com/llvm/llvm-project/commit/2d030b0ecdb32b7b6b9d47f66182db7e2dafa026 DIFF: https://github.com/llvm/llvm-project/commit/2d030b0ecdb32b7b6b9d47f66182db7e2dafa026.diff

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

2025-07-09 Thread Michael Buch via lldb-commits
@@ -16,7 +16,7 @@ lldb::ValueObjectSP lldb_private::formatters::GetDesugaredSmartPointerValue( auto arg = container_type.GetTypeTemplateArgument(0); if (!arg) -return nullptr; +return ptr.GetSP(); // FIXME: PDB doesn't have info about template arguments -

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

2025-07-09 Thread Michael Buch via lldb-commits
https://github.com/Michael137 edited https://github.com/llvm/llvm-project/pull/147575 ___ 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::shared_ptr (PR #147575)

2025-07-09 Thread Michael Buch via lldb-commits
@@ -16,7 +16,7 @@ lldb::ValueObjectSP lldb_private::formatters::GetDesugaredSmartPointerValue( auto arg = container_type.GetTypeTemplateArgument(0); if (!arg) -return nullptr; +return ptr.GetSP(); // FIXME: PDB doesn't have info about template arguments -

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

2025-07-09 Thread Michael Buch via lldb-commits
https://github.com/Michael137 edited https://github.com/llvm/llvm-project/pull/147575 ___ 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::shared_ptr (PR #147575)

2025-07-09 Thread Michael Buch via lldb-commits
@@ -0,0 +1,170 @@ +//===-- MsvcStlSmartPointer.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::shared_ptr (PR #147575)

2025-07-09 Thread Michael Buch via lldb-commits
@@ -1636,6 +1622,36 @@ static void LoadCommonStlFormatters(lldb::TypeCategoryImplSP cpp_category_sp) { return LibStdcppStringSummaryProvider(valobj, stream, options); }, "MSVC STL/libstdc++ std::wstring summary provider")); + + auto smart_ptr_c

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

2025-07-09 Thread Michael Buch via lldb-commits
@@ -16,7 +16,7 @@ lldb::ValueObjectSP lldb_private::formatters::GetDesugaredSmartPointerValue( auto arg = container_type.GetTypeTemplateArgument(0); if (!arg) -return nullptr; +return ptr.GetSP(); // FIXME: PDB doesn't have info about template arguments -

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

2025-07-09 Thread Michael Buch via lldb-commits
@@ -118,3 +118,9 @@ def test_libcxx(self): def test_libstdcxx(self): self.build(dictionary={"USE_LIBSTDCPP": 1}) self.do_test() + +@add_test_categories(["msvcstl"]) +def test_msvcstl(self): +# No flags, because the "msvcstl" category checks t

[Lldb-commits] [lldb] [LLDB] Fix build after TargetInfo::adjust signature change (PR #147727)

2025-07-09 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 -- lldb/source/Plugins/ExpressionParser/Clang/ClangExpre

[Lldb-commits] [lldb] 92fbfc2 - [LLDB] Fix build after TargetInfo::adjust signature change (#147727)

2025-07-09 Thread via lldb-commits
Author: Yaxun (Sam) Liu Date: 2025-07-09T09:43:41-04:00 New Revision: 92fbfc22c1c560e4484d4260a8ed7747f6b75476 URL: https://github.com/llvm/llvm-project/commit/92fbfc22c1c560e4484d4260a8ed7747f6b75476 DIFF: https://github.com/llvm/llvm-project/commit/92fbfc22c1c560e4484d4260a8ed7747f6b75476.dif

[Lldb-commits] [lldb] [LLDB] Fix build after TargetInfo::adjust signature change (PR #147727)

2025-07-09 Thread Yaxun Liu via lldb-commits
https://github.com/yxsamliu closed https://github.com/llvm/llvm-project/pull/147727 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [LLDB] Fix build after TargetInfo::adjust signature change (PR #147727)

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

[Lldb-commits] [lldb] [LLDB] Fix build after TargetInfo::adjust signature change (PR #147727)

2025-07-09 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Yaxun (Sam) Liu (yxsamliu) Changes Fixes buildbot failure on lldb-x86_64-debian due to https://github.com/llvm/llvm-project/pull/146620 https://lab.llvm.org/buildbot/#/builders/162/builds/26414 Update LLDB calls to TargetInfo::adjust() to

[Lldb-commits] [clang] [lldb] [llvm] [bazel] Update after db7888ca9aef6c203b363bbb395549b4e6cfa9d4 (#146732) (PR #147726)

2025-07-09 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-backend-aarch64 Author: None (DeanSturtevant1) Changes --- Patch is 142.46 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/147726.diff 44 Files Affected: - (modified) clang/include/clang/Basic/BuiltinsAMD

[Lldb-commits] [clang] [lldb] [llvm] [bazel] Update after db7888ca9aef6c203b363bbb395549b4e6cfa9d4 (#146732) (PR #147726)

2025-07-09 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-transforms Author: None (DeanSturtevant1) Changes --- Patch is 142.46 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/147726.diff 44 Files Affected: - (modified) clang/include/clang/Basic/BuiltinsAMD

[Lldb-commits] [clang] [lldb] [llvm] [bazel] Update after db7888ca9aef6c203b363bbb395549b4e6cfa9d4 (#146732) (PR #147726)

2025-07-09 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: None (DeanSturtevant1) Changes --- Patch is 142.46 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/147726.diff 44 Files Affected: - (modified) clang/include/clang/Basic/BuiltinsAMDGPU.def (+1

  1   2   >