[Lldb-commits] [lldb] [lldb] Fix off-by-one error in ToDwarfSourceLanguage (PR #162315)

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

[Lldb-commits] [lldb] [lldb] Introduce ScriptedFrameProvider for real threads (PR #161870)

2025-10-08 Thread Med Ismail Bennani via lldb-commits
https://github.com/medismailben updated https://github.com/llvm/llvm-project/pull/161870 Unicorn! ยท GitHub body { background-color: #f1f1f1; margin: 0; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; } .container { margin: 50

[Lldb-commits] [lldb] [LLDB][NativePDB] Use typedef compiler type for typedef types (PR #156250)

2025-10-08 Thread via lldb-commits
@@ -0,0 +1,128 @@ +// REQUIRES: lld + +// Test that simple types can be found +// RUN: %build --std=c++20 --nodefaultlib --arch=64 -o %t.exe -- %s +// RUN: lldb-test symbols %t.exe | FileCheck %s + +bool *PB; +bool &RB = *PB; +bool *&RPB = PB; +const bool &CRB = RB; +bool *const B

[Lldb-commits] [lldb] [lldb] Add deleted line in NextRangeBreakpointExplainsStop (PR #161597)

2025-10-08 Thread Augusto Noronha via lldb-commits
augusto2112 wrote: @jeffreytan81 thanks. It's for a downstream thread plan (which I plan to upstream). I added a call to `ClearNextBranchBreakpointExplainedStop()` from my thread plan's `ShouldStop()` as you suggested and that works. https://github.com/llvm/llvm-project/pull/161597 ___

[Lldb-commits] [lldb] [lldb] Add deleted line in NextRangeBreakpointExplainsStop (PR #161597)

2025-10-08 Thread Augusto Noronha via lldb-commits
https://github.com/augusto2112 closed https://github.com/llvm/llvm-project/pull/161597 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

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

2025-10-08 Thread Augusto Noronha via lldb-commits
https://github.com/augusto2112 closed https://github.com/llvm/llvm-project/pull/155331 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] support attaching by name for platform android (PR #160931)

2025-10-08 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 origin/main HEAD --extensions cpp,h -- lldb/source/Plugins/Platform/Android/PlatformA

[Lldb-commits] [lldb] [LLDB] Handle i686 mingw32 mangling prefix (PR #160930)

2025-10-08 Thread via lldb-commits
https://github.com/Nerixyz closed https://github.com/llvm/llvm-project/pull/160930 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] Add bidirectional packetLog to gdbclientutils.py (PR #162176)

2025-10-08 Thread David Spickett via lldb-commits
@@ -306,7 +309,8 @@ def haltReason(self): # SIGINT is 2, return type is 2 digit hex string return "S02" -def qXferRead(self, obj, annex, offset, length): +def qXferRead(self, obj: str, annex: str, offset: int, + length: int) -> tuple[st

[Lldb-commits] [lldb] [lldb] Add bidirectional packetLog to gdbclientutils.py (PR #162176)

2025-10-08 Thread David Spickett via lldb-commits
@@ -374,15 +378,17 @@ class UnexpectedPacketException(Exception): pass -class ServerChannel: +class ServerChannel(ABC): """ A wrapper class for TCP or pty-based server. """ -def get_connect_address(self): +@abstractmethod Davi

[Lldb-commits] [lldb] [lldb][test] Remove class level packetLog in MockGDBServerResponder (PR #162453)

2025-10-08 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: David Spickett (DavidSpickett) Changes Added in 1902ffd9a4914d4cd03e200ca9050bf3b1564c19 but appears to be leftover code from some older design. I can't find any code that reads packetLog via the class itself, or checks whether it is None

[Lldb-commits] [lldb] [LLDB][NativePDB] Use typedef compiler type for typedef types (PR #156250)

2025-10-08 Thread via lldb-commits
Nerixyz wrote: Ping - I'd like to use the added test from this PR as the "current state" and fix the missing things from above in other PRs. https://github.com/llvm/llvm-project/pull/156250 ___ lldb-commits mailing list [email protected] htt

[Lldb-commits] [lldb] 7da07c0 - [lldb][test] Remove class level packetLog in MockGDBServerResponder (#162453)

2025-10-08 Thread via lldb-commits
Author: David Spickett Date: 2025-10-08T11:09:52Z New Revision: 7da07c081c081edb9f6706cb8ec298c3cee8ec17 URL: https://github.com/llvm/llvm-project/commit/7da07c081c081edb9f6706cb8ec298c3cee8ec17 DIFF: https://github.com/llvm/llvm-project/commit/7da07c081c081edb9f6706cb8ec298c3cee8ec17.diff LOG

[Lldb-commits] [lldb] [lldb] Fix off-by-one error in ToDwarfSourceLanguage (PR #162315)

2025-10-08 Thread Joshua Peterson via lldb-commits
@@ -67,3 +67,16 @@ TEST_F(LanguageTest, SourceLanguage_AsLanguageType) { EXPECT_EQ(SourceLanguage(eLanguageTypeUnknown).AsLanguageType(), eLanguageTypeUnknown); } + +TEST_F(LanguageTest, SourceLanguage_LastStandardLanguage) { + // eLanguageTypeLastStandardLanguag

[Lldb-commits] [lldb] [lldb][test] Remove class level packetLog in MockGDBServerResponder (PR #162453)

2025-10-08 Thread David Spickett via lldb-commits
https://github.com/DavidSpickett closed https://github.com/llvm/llvm-project/pull/162453 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] Add type hints to gdbclientutils.py and use abstract base class (PR #162172)

2025-10-08 Thread David Spickett via lldb-commits
@@ -374,15 +378,17 @@ class UnexpectedPacketException(Exception): pass -class ServerChannel: +class ServerChannel(ABC): DavidSpickett wrote: Thanks, good to know. https://github.com/llvm/llvm-project/pull/162172 _

[Lldb-commits] [lldb] [lldb] Add type hints to gdbclientutils.py and use abstract base class (PR #162172)

2025-10-08 Thread David Spickett via lldb-commits
DavidSpickett wrote: > That shouldn't be the case. I believe for Swift we have at least one bot that > still uses 3.8. If we want to bump the minimum version we should do that > through an RFC like David did: > https://discourse.llvm.org/t/rfc-lets-document-and-enforce-a-minimum-python-version

[Lldb-commits] [lldb] [lldb] Fix off-by-one error in ToDwarfSourceLanguage (PR #162315)

2025-10-08 Thread Michael Buch via lldb-commits
https://github.com/Michael137 auto_merge_enabled https://github.com/llvm/llvm-project/pull/162315 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [libcxx] [lldb] [libc++] Use std::__{scope, exception}_guard throughout the code base (PR #161322)

2025-10-08 Thread Nikolas Klauser via lldb-commits
https://github.com/philnik777 updated https://github.com/llvm/llvm-project/pull/161322 >From fa982f394b6082345a7c66624a4204d46dbcf70e Mon Sep 17 00:00:00 2001 From: Nikolas Klauser Date: Tue, 30 Sep 2025 08:29:05 +0200 Subject: [PATCH] [libc++] Use std::__{scope,exception}_guard throughout the

[Lldb-commits] [lldb] [lldb] Ignore trailing spaces on quit confirmation (PR #162263)

2025-10-08 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Ebuka Ezike (da-viper) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/162263.diff 2 Files Affected: - (modified) lldb/source/Core/IOHandler.cpp (+6-5) - (modified) lldb/test/API/driver/quit_speed/TestQuitWithProcess.p

[Lldb-commits] [lldb] [lldb] Introduce ScriptedFrameProvider for real threads (PR #161870)

2025-10-08 Thread Med Ismail Bennani via lldb-commits
medismailben wrote: @vogelsgesang I've added a new `SBFrameList` class with iterators since there was so way to pass the existing StackFrameList in lazy way to the user script and updated the calls to `get_stackframes` to take it as an argument. I'm still waiting on @jimingham feedback on this

[Lldb-commits] [lldb] Make SBBreakpoint/SBBreakpointLocation.SetCondition(nullptr) work again. (PR #162370)

2025-10-08 Thread LLVM Continuous Integration via lldb-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `lldb-remote-linux-win` running on `as-builder-10` while building `lldb` at step 7 "cmake-configure". Full details are available at: https://lab.llvm.org/buildbot/#/builders/197/builds/9662 Here is the relevant piece of the b

[Lldb-commits] [lldb] Make SBBreakpoint/SBBreakpointLocation.SetCondition(nullptr) work again. (PR #162370)

2025-10-08 Thread LLVM Continuous Integration via lldb-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `publish-sphinx-docs` running on `as-worker-4` while building `lldb` at step 4 "cmake-configure". Full details are available at: https://lab.llvm.org/buildbot/#/builders/45/builds/16943 Here is the relevant piece of the build

[Lldb-commits] [lldb] Revert "Make SBBreakpoint/SBBreakpointLocation.SetCondition(nullptr) work again." (PR #162544)

2025-10-08 Thread Kazu Hirata via lldb-commits
https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/162544 Reverts llvm/llvm-project#162370 The PR breaks multiple buildbots: https://lab.llvm.org/buildbot/#/builders/162/builds/32818 https://lab.llvm.org/buildbot/#/builders/181/builds/29448 >From 46d71e86fca3

[Lldb-commits] [lldb] Make SBBreakpoint/SBBreakpointLocation.SetCondition(nullptr) work again. (PR #162370)

2025-10-08 Thread LLVM Continuous Integration via lldb-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `lldb-aarch64-ubuntu` running on `linaro-lldb-aarch64-ubuntu` while building `lldb` at step 3 "cmake-configure". Full details are available at: https://lab.llvm.org/buildbot/#/builders/59/builds/25424 Here is the relevant pi

[Lldb-commits] [lldb] [lldb] Enforce that only the LLDB API unit tests can link liblldb (PR #162384)

2025-10-08 Thread Paul Kirth via lldb-commits
ilovepi wrote: We're seeing this after this patch: ```console - Performing Test CXX_SUPPORTS_NO_DOCUMENTATION_DEPRECATED_SYNC - Success CMake Error at /b/s/w/ir/x/w/llvm-llvm-project/lldb/unittests/CMakeLists.txt:25 (message): The LLDBBreakpointTests are not allowed to link liblldb. Call Stac

[Lldb-commits] [lldb] Revert "Make SBBreakpoint/SBBreakpointLocation.SetCondition(nullptr) work again." (PR #162544)

2025-10-08 Thread Kazu Hirata via lldb-commits
kazutakahirata wrote: The build seems to be fixed as of 1395d4315bf49be64817b79e3863d183bb28c3e1. https://github.com/llvm/llvm-project/pull/162544 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo

[Lldb-commits] [lldb] 02572c6 - [lldb] Enforce that only the LLDB API unit tests can link liblldb (#162384)

2025-10-08 Thread via lldb-commits
Author: Jonas Devlieghere Date: 2025-10-08T12:55:26-07:00 New Revision: 02572c6e9bbb60916ce471cbfec339b68a2121e2 URL: https://github.com/llvm/llvm-project/commit/02572c6e9bbb60916ce471cbfec339b68a2121e2 DIFF: https://github.com/llvm/llvm-project/commit/02572c6e9bbb60916ce471cbfec339b68a2121e2.d

[Lldb-commits] [lldb] [lldb] Enforce that only the LLDB API unit tests can link liblldb (PR #162384)

2025-10-08 Thread Jonas Devlieghere via lldb-commits
https://github.com/JDevlieghere closed https://github.com/llvm/llvm-project/pull/162384 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] Make SBBreakpoint/SBBreakpointLocation.SetCondition(nullptr) work again. (PR #162370)

2025-10-08 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 4 "cmake-configure". Full details are available at: https://lab.llvm.org/buildbot/#/builders/163/builds/27856 Here is the rele

[Lldb-commits] [lldb] [lldb][Language] Make SourceLanguage::GetDescription for language version (PR #162050)

2025-10-08 Thread Michael Buch via lldb-commits
https://github.com/Michael137 updated https://github.com/llvm/llvm-project/pull/162050 >From 2aee2b16d171206d953b86aa2a37ae4658c96774 Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Mon, 6 Oct 2025 09:48:28 +0100 Subject: [PATCH 1/2] [lldb][Language] Make SourceLanguage::GetDescription for l

[Lldb-commits] [lldb] [lldb-dap] Allow empty memory reference in disassemble arguments (PR #162517)

2025-10-08 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Sergei Druzhkov (DrSergei) Changes This patch implements a workaround for a VSCode bug that causes it to send disassemble requests with empty memory reference. You can find more detailed description [here](https://github.com/microsoft/vsco

[Lldb-commits] [lldb] support attaching by name for platform android (PR #160931)

2025-10-08 Thread Chad Smith via lldb-commits
cs01 wrote: If there is > 1 process with the same name, this occurs: ``` (lldb) process attach -n sleep error: attach failed: more than one process named sleep: PIDPARENT USER TRIPLE ARGUMENTS == == == == =

[Lldb-commits] [lldb] [lldb][Language] Make SourceLanguage::GetDescription for language version (PR #162050)

2025-10-08 Thread Michael Buch via lldb-commits
https://github.com/Michael137 closed https://github.com/llvm/llvm-project/pull/162050 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb][windows] add support for out of PATH python.dll resolution (PR #162509)

2025-10-08 Thread Saleem Abdulrasool via lldb-commits
@@ -426,6 +433,47 @@ SBError Driver::ProcessArgs(const opt::InputArgList &args, bool &exiting) { return error; } +#ifdef _WIN32 +// Returns the full path to the lldb.exe executable +inline std::wstring GetPathToExecutableW() { + // Iterate until we reach the Windows max pa