[Lldb-commits] [lldb] [llvm] Add AArch64 support to the premerge tests (PR #155274)

2025-10-17 Thread Tom Stellard via lldb-commits
tstellar wrote: Also, because I had to change the name of the tests to include the arch, we will need to update the rulset which requires the precommit tests to pass. https://github.com/llvm/llvm-project/pull/155274 ___ lldb-commits mailing list lldb-

[Lldb-commits] [lldb] [lldb] Correct bridgeOS -> BridgeOS spelling (PR #163479)

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

[Lldb-commits] [lldb] [lldb][ObjC] Consult Objective-C runtime decl vendor when completing type (PR #164011)

2025-10-17 Thread Adrian Prantl via lldb-commits
https://github.com/adrian-prantl approved this pull request. https://github.com/llvm/llvm-project/pull/164011 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] refactor watchpoint functionality (PR #159807)

2025-10-17 Thread via lldb-commits
dlav-sc wrote: The RFC topic is here: https://discourse.llvm.org/t/rfc-software-watchpoints-support/88391 Please take a look when you get a chance. https://github.com/llvm/llvm-project/pull/159807 ___ lldb-commits mailing list [email protected].

[Lldb-commits] [clang] [lldb] [Clang] Introduce OverflowBehaviorType for fine-grained overflow control (PR #148914)

2025-10-17 Thread Justin Stitt via lldb-commits
@@ -2427,9 +2438,16 @@ static bool IsStandardConversion(Sema &S, Expr* From, QualType ToType, // Complex promotion (Clang extension) SCS.Second = ICK_Complex_Promotion; FromType = ToType.getUnqualifiedType(); + } else if (S.IsOverflowBehaviorTypePromotion(FromType

[Lldb-commits] [lldb] update lldb-server platform help parsing (PR #162730)

2025-10-17 Thread Chad Smith via lldb-commits
https://github.com/cs01 updated https://github.com/llvm/llvm-project/pull/162730 >From e0cf0976a43e09cea26693727888c08ad8021af0 Mon Sep 17 00:00:00 2001 From: Chad Smith Date: Thu, 9 Oct 2025 11:52:01 -0700 Subject: [PATCH] update lldb-server platform help text --- ...s.test => TestGdbserverEr

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

2025-10-17 Thread Augusto Noronha via lldb-commits
augusto2112 wrote: By the way, the comment [on this line](https://github.com/llvm/llvm-project/pull/161597/files#diff-46aa8e984a6ebc1d4032efa38c8fba130ab4a8851fba18842e36c37daef32e50R471) strongly implies that the breakpoint should be cleared: ``` // If we've hit the next branch breakpoint, t

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

2025-10-17 Thread Jonas Devlieghere via lldb-commits
@@ -0,0 +1,52 @@ +//===-- ScriptedFrameProvider.h *- C++ -*-===// +// +// 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: Apach

[Lldb-commits] [lldb] [lldb][CPlusPlusLanguage] Avoid redundant const char* -> StringRef roundtrip (PR #161499)

2025-10-17 Thread David Spickett via lldb-commits
DavidSpickett wrote: > We've been seen (very sporadic) lifetime issues around this area. Could the ConstString not be null terminated and sometimes the data after it happens to be interpretable as a string and sometimes it isn't? Thinking about what the conclusion is if you don't see anymore c

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

2025-10-17 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Med Ismail Bennani (medismailben) Changes --- Patch is 27.35 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/161870.diff 19 Files Affected: - (modified) lldb/include/lldb/API/SBThread.h (+2)

[Lldb-commits] [lldb] [lldb] Introduce ScritedFrameProvider (PR #161870)

2025-10-17 Thread Med Ismail Bennani via lldb-commits
https://github.com/medismailben created https://github.com/llvm/llvm-project/pull/161870 None >From c1792fcf350dae422b1671ba18e2b095e45863e1 Mon Sep 17 00:00:00 2001 From: Med Ismail Bennani Date: Fri, 3 Oct 2025 16:53:37 +0100 Subject: [PATCH] [lldb] Introduce ScritedFrameProvider Signed-off

[Lldb-commits] [lldb] [LLDB][PDB] Run UDT layout test with native PDB too (PR #159769)

2025-10-17 Thread Michael Buch via lldb-commits
@@ -1,51 +1,63 @@ REQUIRES: target-windows, lld RUN: %build --compiler=clang-cl --output=%t.exe %S/Inputs/UdtLayoutTest.cpp -RUN: %lldb -b -s %S/Inputs/UdtLayoutTest.script -- %t.exe | FileCheck %s +RUN: env LLDB_USE_NATIVE_PDB_READER=0 %lldb -b -s %S/Inputs/UdtLayoutTest.scrip

[Lldb-commits] [lldb] [lldb][MachO][NFC] Extract ObjC metadata symbol parsing into helper function (PR #161536)

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

[Lldb-commits] [lldb] [lldb][test] Fix TestEmptyFuncThreadStepOut.py (PR #161788)

2025-10-17 Thread Igor Kudrin via lldb-commits
https://github.com/igorkudrin edited https://github.com/llvm/llvm-project/pull/161788 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb][test] Fix TestEmptyFuncThreadStepOut.py (PR #161788)

2025-10-17 Thread Igor Kudrin via lldb-commits
igorkudrin wrote: > > because a breakpoint was set before the last instruction of the function > > Expand this a bit. Like "Meaning, before the epilogue of the function." I expanded the description a bit; hope it is clearer now. I don't think mentioning "epilogue" would improve it. Probably, m

[Lldb-commits] [lldb] [LLDB] Add type casting to DIL. (PR #159500)

2025-10-17 Thread Adrian Prantl via lldb-commits
@@ -44,6 +47,31 @@ nested_name_specifier = type_name "::" | namespace_name '::' | nested_name_specifier identifier "::" ; +type_id = type_specifier_seq [abstract_declarator] ; + +type_specifier_seq = type_specifier [type_specifier];

[Lldb-commits] [lldb] [lldb] Implement Process::ReadMemoryRanges (PR #163651)

2025-10-17 Thread Felipe de Azevedo Piovezan via lldb-commits
@@ -1571,6 +1571,25 @@ class Process : public std::enable_shared_from_this, virtual size_t ReadMemory(lldb::addr_t vm_addr, void *buf, size_t size, Status &error); + /// Read from multiple memory ranges and write the results into buffer. + ///

[Lldb-commits] [lldb] [lldb] Support shared cache relative objc method types (PR #163663)

2025-10-17 Thread via lldb-commits
https://github.com/cooperp approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/163663 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb][DWARFASTParserClang] Added a check for the specialization existence (PR #154123)

2025-10-17 Thread Timur Golubovich via lldb-commits
https://github.com/tgs-sc updated https://github.com/llvm/llvm-project/pull/154123 >From f158ed36c1045b8b996786b7c022fd26680d95ea Mon Sep 17 00:00:00 2001 From: Timur Golubovich Date: Mon, 8 Sep 2025 14:43:50 +0300 Subject: [PATCH] [lldb][DWARFASTParserClang] Added a check for the specializati

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

2025-10-17 Thread Walter Erquinigo via lldb-commits
@@ -477,6 +477,248 @@ std::string PlatformAndroid::GetRunAs() { } return run_as.str(); } + +// Helper function to populate process status information from +// /proc/[pid]/status +void PlatformAndroid::PopulateProcessStatusInfo( +lldb::pid_t pid, ProcessInstanceInfo &pro

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

2025-10-17 Thread David Spickett via lldb-commits
DavidSpickett wrote: > Yes it is, sorry about that. I used to use phabricator for this back when > that was the way to do reviews, I don't currently know of a tool that works > with github PR's I miss this feature too. We mention a couple of tools on https://llvm.org/docs/GitHub.html#using-gr

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

2025-10-17 Thread Chad Smith via lldb-commits
@@ -477,6 +477,85 @@ std::string PlatformAndroid::GetRunAs() { } return run_as.str(); } +uint32_t +PlatformAndroid::FindProcesses(const ProcessInstanceInfoMatch &match_info, + ProcessInstanceInfoList &proc_infos) { + // Use the parent implemen

[Lldb-commits] [lldb] [lldb] Fix TypeSystemClang::GetBasicTypeEnumeration for 128-bit int types (PR #162278)

2025-10-17 Thread Matej Košík via lldb-commits
https://github.com/sedymrak updated https://github.com/llvm/llvm-project/pull/162278 From 04fea010905c6a24dd5b51e3cb7ff96c4b33d40d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ko=C5=A1=C3=ADk?= Date: Tue, 7 Oct 2025 12:18:43 +0200 Subject: [PATCH 1/4] [lldb] Fix the TypeSystemClang::GetBasi

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

2025-10-17 Thread Daniel Sanders via lldb-commits
https://github.com/dsandersllvm updated https://github.com/llvm/llvm-project/pull/162172 >From bd8a1e123b468c5e9f2251d2a7f55d9c22069396 Mon Sep 17 00:00:00 2001 From: Daniel Sanders Date: Fri, 3 Oct 2025 20:05:11 -0700 Subject: [PATCH 1/4] [lldb] Add type hints to gdbclientutils.py and fix issu

[Lldb-commits] [lldb] Revert "[lldb] Cortex-M exception unwind API test cleanup" (PR #162520)

2025-10-17 Thread Vladislav Dzhidzhoev via lldb-commits
https://github.com/dzhidzhoev closed https://github.com/llvm/llvm-project/pull/162520 ___ 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-17 Thread Jonas Devlieghere via lldb-commits
https://github.com/JDevlieghere approved this pull request. https://github.com/llvm/llvm-project/pull/162370 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] Parse qSupported MultiMemRead tag in GDB Remote Client (PR #163249)

2025-10-17 Thread Felipe de Azevedo Piovezan via lldb-commits
https://github.com/felipepiovezan updated https://github.com/llvm/llvm-project/pull/163249 >From 2c6aec5408fa3119da4f333819257f0557a08f97 Mon Sep 17 00:00:00 2001 From: Felipe de Azevedo Piovezan Date: Mon, 13 Oct 2025 12:15:14 -0700 Subject: [PATCH 1/2] [lldb] Parse qSupported MultiMemRead tag

[Lldb-commits] [libcxx] [lldb] [lldb][test] Don't run libc++ API tests without a locally built libc++ (PR #162657)

2025-10-17 Thread Michael Buch via lldb-commits
https://github.com/Michael137 updated https://github.com/llvm/llvm-project/pull/162657 >From 0b23bd05541354a493acea8fbb2c89b771a3e774 Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Thu, 9 Oct 2025 13:06:40 +0100 Subject: [PATCH 1/3] [lldb][test] Don't run libc++ API tests without a locally

[Lldb-commits] [lldb] [lldb][TypeSystemClang] Added unique builtins types for __bf16 and _Float16 (PR #157674)

2025-10-17 Thread Timur Golubovich via lldb-commits
https://github.com/tgs-sc edited https://github.com/llvm/llvm-project/pull/157674 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] b181c22 - [lldb][RISCV] Fixed TestSymbolFileJSON for RISC-V (#161497)

2025-10-17 Thread via lldb-commits
Author: Georgiy Samoylov Date: 2025-10-01T15:40:42-07:00 New Revision: b181c22c54bd8c3f6d8a3071661572c5782a7a30 URL: https://github.com/llvm/llvm-project/commit/b181c22c54bd8c3f6d8a3071661572c5782a7a30 DIFF: https://github.com/llvm/llvm-project/commit/b181c22c54bd8c3f6d8a3071661572c5782a7a30.di

[Lldb-commits] [lldb] [lldb/cmake] unittests: Breakpoint: remove liblldb dep (PR #162571)

2025-10-17 Thread Justin Stitt via lldb-commits
https://github.com/JustinStitt edited https://github.com/llvm/llvm-project/pull/162571 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [clang] [lldb] [Clang] Introduce OverflowBehaviorType for fine-grained overflow control (PR #148914)

2025-10-17 Thread Justin Stitt via lldb-commits
JustinStitt wrote: I think there is some confusion in this thread about how to tell the compiler about intentional data loss. The UX I like the most is something like the following: ```c void foo() { int __ob_trap a = -1; u16 b = a; // trap, semantics we just agreed upon. implicit casts ar

[Lldb-commits] [lldb] [lldb][Expression] Emit a 'Note' diagnostic that indicates the language used for expression evaluation (PR #161688)

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

[Lldb-commits] [clang] [lldb] [llvm] [llvm][clang] Use the VFS in `FileCollector` (PR #160788)

2025-10-17 Thread LLVM Continuous Integration via lldb-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `clang-m68k-linux-cross` running on `suse-gary-m68k-cross` while building `clang,lldb,llvm` at step 5 "ninja check 1". Full details are available at: https://lab.llvm.org/buildbot/#/builders/27/builds/16650 Here is the relev

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

2025-10-17 Thread Chad Smith via lldb-commits
https://github.com/cs01 edited https://github.com/llvm/llvm-project/pull/160931 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [clang] [lldb] [clang][Expr] Teach IgnoreUnlessSpelledInSource about implicit calls to std::get free function (PR #122265)

2025-10-17 Thread Michael Buch via lldb-commits
Michael137 wrote: @mgorny Any chance you have access to the full IR when compiling it with the clang on that bot? https://github.com/llvm/llvm-project/pull/122265 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin

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

2025-10-17 Thread Chad Smith via lldb-commits
@@ -477,6 +477,85 @@ std::string PlatformAndroid::GetRunAs() { } return run_as.str(); } +uint32_t +PlatformAndroid::FindProcesses(const ProcessInstanceInfoMatch &match_info, + ProcessInstanceInfoList &proc_infos) { + // Use the parent implemen

[Lldb-commits] [lldb] [lldb][TypeSystemClang] Added unique builtins types for __bf16 and _Float16 (PR #157674)

2025-10-17 Thread Timur Golubovich via lldb-commits
https://github.com/tgs-sc edited https://github.com/llvm/llvm-project/pull/157674 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] Adding A new Binding helper for JSONTransport. (PR #159160)

2025-10-17 Thread John Harrison via lldb-commits
https://github.com/ashgti closed https://github.com/llvm/llvm-project/pull/159160 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [llvm] [lldb][Expression] Emit a 'Note' diagnostic that indicates the language used for expression evaluation (PR #161688)

2025-10-17 Thread Michael Buch via lldb-commits
https://github.com/Michael137 updated https://github.com/llvm/llvm-project/pull/161688 >From 8f7c7d59b74119fc16ef2b0e7f7f8c3de925697a Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Mon, 6 Oct 2025 09:37:51 +0100 Subject: [PATCH 1/6] [llvm][Dwarf] Add LanguageDescription API that accounts fo

[Lldb-commits] [clang] [clang-tools-extra] [lldb] [clang] NFC: rename TagType::getOriginalDecl back to getDecl (PR #163271)

2025-10-17 Thread Matheus Izvekov via lldb-commits
https://github.com/mizvekov closed https://github.com/llvm/llvm-project/pull/163271 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb][test] check if CoreDumping is supported at runtime (PR #161385)

2025-10-17 Thread Daniel Thornburgh via lldb-commits
mysterymath wrote: Lack of this patch is still causing problems in our LLDB, and it appears that the PR's test failure in presubmit should be trivial to fix. Do you think you'll be able to land this soon? We can probably polish and land it if need be. https://github.com/llvm/llvm-project/pull/

[Lldb-commits] [lldb] [llvm] [lldb-dap] Add multi-session support with shared debugger instances (PR #163653)

2025-10-17 Thread Walter Erquinigo via lldb-commits
@@ -0,0 +1,119 @@ +//===-- DAPSessionManager.h *- C++ -*-===// +// +// 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][DWARFASTParserClang] Simplify obsolete error condition for malformed array member type offsets (PR #160132)

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

[Lldb-commits] [lldb] [LLDB][PDB] Split `func-symbols.test` between DIA and native (PR #163733)

2025-10-17 Thread via lldb-commits
https://github.com/Nerixyz created https://github.com/llvm/llvm-project/pull/163733 The test checks that functions have the correct type assigned. Because of the differences between the two PDB plugins, I split the test. DIA creates one named `Type` per function and uses identical UIDs for `Typ

[Lldb-commits] [lldb] [debugserver] Implement MultiMemRead packet (PR #162670)

2025-10-17 Thread David Spickett via lldb-commits
@@ -0,0 +1,72 @@ +""" +Tests the exit code/description coming from the debugserver. +""" + +import lldb +from lldbsuite.test.decorators import * +from lldbsuite.test.lldbtest import * +from lldbsuite.test import lldbutil + + +@skipUnlessDarwin +@skipIfOutOfTreeDebugserver +class T

[Lldb-commits] [lldb] Add a scripted way to re-present a stop location (PR #158128)

2025-10-17 Thread Jonas Devlieghere via lldb-commits
@@ -566,43 +655,51 @@ void BreakpointLocation::GetDescription(Stream *s, s->Indent(); } - if (m_address.IsSectionOffset() && - (level == eDescriptionLevelFull || level == eDescriptionLevelInitial)) -s->Printf(", "); - s->Printf("address = "); - - ExecutionCon

[Lldb-commits] [lldb] [lldb][NFC] Fix spelling of function in log message (PR #161261)

2025-10-17 Thread Julian Lettner via lldb-commits
https://github.com/yln created https://github.com/llvm/llvm-project/pull/161261 Fix spelling of `GetMemoryRegionInfo` function in log message and comment and reformat code. >From 92480535c7b660ac2c3255ccb38b5b77790577ec Mon Sep 17 00:00:00 2001 From: Julian Lettner Date: Mon, 29 Sep 2025 12:19:

[Lldb-commits] [lldb] [lldb][test] Don't run libc++ API tests without a locally built libc++ (PR #162657)

2025-10-17 Thread Michael Buch via lldb-commits
Michael137 wrote: > Were there tests that are in that category that were successfully testing the > Python libstdc++ data formatters that would now be no longer run? Nope those should be all under the libstdc++ test category https://github.com/llvm/llvm-project/pull/162657

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

2025-10-17 Thread Jonas Devlieghere via lldb-commits
@@ -1,10 +1,15 @@ -add_lldb_unittest(LLDBBreakpointTests +add_lldb_unittest(LLDBBreakpointTests BreakpointIDTest.cpp + BreakpointClearConditionTest.cpp WatchpointAlgorithmsTests.cpp LINK_COMPONENTS Support LINK_LIBS +liblldb JDevliegh

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

2025-10-17 Thread Med Ismail Bennani via lldb-commits
https://github.com/medismailben updated https://github.com/llvm/llvm-project/pull/161870 >From 89e7ab682c3c3f6c816c3c75effaf21c3ddaede7 Mon Sep 17 00:00:00 2001 From: Med Ismail Bennani Date: Fri, 3 Oct 2025 19:41:55 +0100 Subject: [PATCH] [lldb] Introduce ScritedFrameProvider Signed-off-by: M

[Lldb-commits] [lldb] [lldb] Enable locate module callback for main executable (PR #160199)

2025-10-17 Thread Greg Clayton via lldb-commits
https://github.com/clayborg requested changes to this pull request. A few things to fix mentioned in inline comments. We should add the ability to set the target in SBModuleSpec in the public API. So we need to add: ``` SBTarget SBModuleSpec::GetTarget(); void SBModuleSpec::SetTarget(SBTarget t

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

2025-10-17 Thread via lldb-commits
Nerixyz wrote: > Exactly. The extra underscore prefix on i386 isn't mingw specific either, > it's on MSVC as well - for regular C symbols. For other calling conventions > (like fastcall or vectorcall) the prefix is different though, and for MSVC > C++ mangled symbols, there's a different prefi

[Lldb-commits] [clang] [clang-tools-extra] [flang] [lldb] [llvm] [clang] Move options from clangDriver into new clangOptions library (NFC) (PR #163659)

2025-10-17 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 h,cpp -- clang-tools-extra/clangd/CompileCommands.cpp

[Lldb-commits] [lldb] [lldb] fix the "RegisterValue::SetValueFromData" method for 128-bit integer registers (PR #163646)

2025-10-17 Thread Matej Košík via lldb-commits
sedymrak wrote: Ok, then. I'll leave this branch in the current final state. Feel free to merge it when everything (the build, the tests) is settled. Thank you for the feedback. https://github.com/llvm/llvm-project/pull/163646 ___ lldb-commits mailin

[Lldb-commits] [lldb] [lldb][test] Don't run libc++ API tests without a locally built libc++ (PR #162657)

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

[Lldb-commits] [lldb] [debugserver] Implement MultiMemRead packet (PR #162670)

2025-10-17 Thread Jason Molenda via lldb-commits
@@ -3160,6 +3165,140 @@ rnb_err_t RNBRemote::HandlePacket_m(const char *p) { return SendPacket(ostrm.str()); } +/// Returns true if `str` starts with `prefix`. +static bool starts_with(std::string_view str, std::string_view prefix) { + return str.size() >= prefix.size() &&

[Lldb-commits] [lldb] 31d2602 - [lldb] Add a missing include. NFC. (#162809)

2025-10-17 Thread via lldb-commits
Author: Martin Storsjö Date: 2025-10-10T18:12:57+03:00 New Revision: 31d260211a27a59788c6a00a3bf55df8e5047940 URL: https://github.com/llvm/llvm-project/commit/31d260211a27a59788c6a00a3bf55df8e5047940 DIFF: https://github.com/llvm/llvm-project/commit/31d260211a27a59788c6a00a3bf55df8e5047940.diff

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

2025-10-17 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 -- lldb/unittests/Breakpoint/BreakpointClearConditi

[Lldb-commits] [lldb] [LLDB][NativePDB] Consolidate simple types (PR #163209)

2025-10-17 Thread via lldb-commits
Nerixyz wrote: Ah I forgot to commit and push https://github.com/llvm/llvm-project/pull/163209 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [LLDB][NativePDB] Consolidate simple types (PR #163209)

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

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

2025-10-17 Thread via lldb-commits
jimingham wrote: BTW, I used the term `generator` when I probably shouldn't because that's more a term of art. I don't think "real generating iterators" are needed here, because we're really not building lists, we're always only answering the question "Give me the stack frame at index 5 or te

[Lldb-commits] [lldb] [lldb/cmake] unittests: Breakpoint: remove liblldb dep (PR #162571)

2025-10-17 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Justin Stitt (JustinStitt) Changes Remove the `liblldb` link target for these tests to fix CI failures. Commit 02572c6e9bbb ("[lldb] Enforce that only the LLDB API unit tests can link liblldb") disallows linking against liblldb for most te

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

2025-10-17 Thread Joshua Peterson via lldb-commits
https://github.com/joshpeterson updated https://github.com/llvm/llvm-project/pull/162315 >From 248f4edc8bf264f944300846b2122a05129960d1 Mon Sep 17 00:00:00 2001 From: Josh Peterson Date: Tue, 7 Oct 2025 12:14:45 -0400 Subject: [PATCH 1/3] [lldb] Fix off-by-one error in ToDwarfSourceLanguage Th

[Lldb-commits] [lldb] [lldb] Fix bot failure due to new qSupported packet reply (PR #163643)

2025-10-17 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Felipe de Azevedo Piovezan (felipepiovezan) Changes When [1] landed, gdbremote server tests had to be updated to understand the new packet field. [1]: https://github.com/llvm/llvm-project/pull/163249 --- Full diff: https://github.com/llvm

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

2025-10-17 Thread Med Ismail Bennani via lldb-commits
https://github.com/medismailben updated https://github.com/llvm/llvm-project/pull/161870 >From 5fd3ebc549fd453aa4ec982b001aa32926983bfd Mon Sep 17 00:00:00 2001 From: Med Ismail Bennani Date: Sat, 4 Oct 2025 14:10:19 +0100 Subject: [PATCH] [lldb] Introduce ScriptedFrameProvider for real threads

[Lldb-commits] [lldb] [lldb] Add support for unique target ids (PR #160736)

2025-10-17 Thread Walter Erquinigo via lldb-commits
@@ -159,6 +159,17 @@ class TargetList : public Broadcaster { lldb::TargetSP FindTargetWithProcess(lldb_private::Process *process) const; + /// Find the target that has a globally unique ID that matches ID \a id walter-erquinigo wrote: ```suggestion ///

[Lldb-commits] [lldb] [lldb-dap] Send a 'process' event on restart. (PR #163833)

2025-10-17 Thread John Harrison via lldb-commits
https://github.com/ashgti updated https://github.com/llvm/llvm-project/pull/163833 >From 49e0b3b886f68c60dbfb737688ae4959d69df130 Mon Sep 17 00:00:00 2001 From: John Harrison Date: Thu, 16 Oct 2025 10:34:48 -0700 Subject: [PATCH 1/2] [lldb-dap] Send a 'process' event on restart. When we restar

[Lldb-commits] [lldb] update lldb-server platform help parsing (PR #162730)

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

[Lldb-commits] [lldb] [lldb/cmake] unittests: Breakpoint: remove liblldb dep (PR #162571)

2025-10-17 Thread Justin Stitt via lldb-commits
https://github.com/JustinStitt created https://github.com/llvm/llvm-project/pull/162571 Remove the `liblldb` link target for these tests to fix CI failures. Commit 02572c6e9bbb ("[lldb] Enforce that only the LLDB API unit tests can link liblldb") disallows linking against liblldb for most test

[Lldb-commits] [lldb] [llvm] Add AArch64 support to the premerge tests (PR #155274)

2025-10-17 Thread Tom Stellard via lldb-commits
tstellar wrote: This is ready for review. I set the continue-on-error property for the aarch64 tests for now to allow for a stabilization period that doesn't impact users. https://github.com/llvm/llvm-project/pull/155274 ___ lldb-commits mailing list

[Lldb-commits] [clang] [clang-tools-extra] [compiler-rt] [libc] [libcxx] [lld] [lldb] [llvm] [mlir] [openmp] [polly] Python-related cleanups (PR #163566)

2025-10-17 Thread Ross Burton via lldb-commits
rossburton wrote: > Moreover, this may have pretty big implications since the implementation of > these commands 8s very inconsistent across platforms and no common rules seem > to exist. Some platforms have `python` that aliases to `python3`, some alias > it to `python2`, some only have `pyth

[Lldb-commits] [lldb] [lldb][MachO][NFC] Extract ObjC metadata symbol parsing into helper function (PR #161536)

2025-10-17 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 -- lldb/source/Plugins/ObjectFile/Mach-O/ObjectFile

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

2025-10-17 Thread via lldb-commits
Nerixyz wrote: I'm no real MinGW user, and I couldn't find documentation on the mangling used there, so I relied on examples. The mangled names on i686 mingw32 do have two underscores. From [this comment on an old patch](https://reviews.llvm.org/D22939#500090), it does seem like this is inten

[Lldb-commits] [lldb] [debugserver] Implement MultiMemRead packet (PR #162670)

2025-10-17 Thread Dave Lee via lldb-commits
@@ -3160,6 +3165,140 @@ rnb_err_t RNBRemote::HandlePacket_m(const char *p) { return SendPacket(ostrm.str()); } +/// Returns true if `str` starts with `prefix`. +static bool starts_with(std::string_view str, std::string_view prefix) { + return str.size() >= prefix.size() &&

[Lldb-commits] [lldb] [llvm] Fix typos: 'auxilliary' to 'auxiliary' and multiple other typos (PR #161935)

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

[Lldb-commits] [lldb] [lldb] Add a null check, actually use new SharedModuleList class (PR #162574)

2025-10-17 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Augusto Noronha (augusto2112) Changes Now that the use after free bug has been fixed (397181d5c), actually use the new SharedModuleList class. --- Full diff: https://github.com/llvm/llvm-project/pull/162574.diff 1 Files Affected: - (mod

[Lldb-commits] [lldb] [llvm] Fix typos: 'auxilliary' to 'auxiliary' and 'unit64_t' to 'uint64_t' (PR #161955)

2025-10-17 Thread via lldb-commits
https://github.com/smallzhong created https://github.com/llvm/llvm-project/pull/161955 Corrects multiple instances of the misspelling 'auxilliary' to 'auxiliary' across code, comments, and documentation in XCOFF-related files. Also fixes a minor typo in comments within XCOFFObjectFile.cpp whe

[Lldb-commits] [lldb] [lldb] Adding A new Binding helper for JSONTransport. (PR #159160)

2025-10-17 Thread John Harrison via lldb-commits
@@ -297,6 +340,450 @@ class JSONRPCTransport : public IOTransport { static constexpr llvm::StringLiteral kMessageSeparator = "\n"; }; -} // namespace lldb_private +/// A handler for the response to an outgoing request. +template +using Reply = +std::conditional_t, +

[Lldb-commits] [lldb] [debugserver] Support for `qMemTags` packet (PR #160952)

2025-10-17 Thread David Spickett via lldb-commits
@@ -0,0 +1,94 @@ +"""Test MTE Memory Tagging on Apple platforms""" + +import lldb +import re +from lldbsuite.test.decorators import * +from lldbsuite.test.lldbtest import * +from lldbsuite.test import lldbutil +import lldbsuite.test.cpu_feature as cpu_feature + +exe_name = "uaf_mt

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

2025-10-17 Thread Volodymyr Sapsai via lldb-commits
vsapsai wrote: Pre-commit CI is also broken with the same error. 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] [clang] [clang-tools-extra] [compiler-rt] [libc] [libcxx] [lld] [lldb] [llvm] [mlir] [openmp] [polly] Python-related cleanups (PR #163566)

2025-10-17 Thread Ross Burton via lldb-commits
https://github.com/rossburton updated https://github.com/llvm/llvm-project/pull/163566 >From 19f755003adf1befe663543286950fb4ac3a Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Wed, 15 Oct 2025 15:21:16 +0100 Subject: [PATCH 1/3] [cmake] Pass PYTHON_EXECUTABLE to native builds Ensure tha

[Lldb-commits] [lldb] [LLDB] Add unary plus and minus to DIL (PR #155617)

2025-10-17 Thread Adrian Prantl via lldb-commits
@@ -21,6 +21,104 @@ namespace lldb_private::dil { +static llvm::Expected +GetTypeSystemFromCU(std::shared_ptr ctx) { + auto stack_frame = ctx->CalculateStackFrame(); + if (!stack_frame) +return llvm::createStringError("no stack frame in this context"); + SymbolContext

[Lldb-commits] [lldb] update lldb-server platform help parsing (PR #162730)

2025-10-17 Thread Chad Smith via lldb-commits
cs01 wrote: Btw, I plan to make a few more pull requests to improve the API of lldb-server and the messages it prints. One for lldb-server's help itself. Another for lldb-server p's messages that it logs to stderr. And one more to hide the `--server` option and replace it with `--daemon` or `-

[Lldb-commits] [lldb] [gdbremote] Document MultiMemRead packet in protocol extensions (PR #162675)

2025-10-17 Thread Felipe de Azevedo Piovezan via lldb-commits
@@ -2530,3 +2530,41 @@ read packet: $e0030100#b9 **Priority to Implement:** Only required for Wasm support. Necessary to show variables. + +### MultiMemRead + +Read memory from multiple memory addresses. + +There are two arguments to the request: + +* `ranges`: a list of base-

[Lldb-commits] [lldb] update lldb-server platform help text (PR #162730)

2025-10-17 Thread Chad Smith via lldb-commits
https://github.com/cs01 edited https://github.com/llvm/llvm-project/pull/162730 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [gdbremote] Document MultiMemRead packet in protocol extensions (PR #162675)

2025-10-17 Thread Felipe de Azevedo Piovezan via lldb-commits
felipepiovezan wrote: > In short, this is a versioning field. If we want to do this, we might as well > stick a `version:1` key-value in the packet. We've never done this for a gdb > remote serial protocol packet, but if we think there is a need/value in doing > this, I'd say let's make it obv

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

2025-10-17 Thread Walter Erquinigo via lldb-commits
@@ -477,6 +477,248 @@ std::string PlatformAndroid::GetRunAs() { } return run_as.str(); } + +// Helper function to populate process status information from +// /proc/[pid]/status +void PlatformAndroid::PopulateProcessStatusInfo( +lldb::pid_t pid, ProcessInstanceInfo &pro

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

2025-10-17 Thread David Spickett via lldb-commits
@@ -242,7 +245,7 @@ def qProcessInfo(self): def qHostInfo(self): return "ptrsize:8;endian:little;" -def qEcho(self): +def qEcho(self, _: int): DavidSpickett wrote: There is another class that adds the parameter: ``` def qEcho(s

[Lldb-commits] [lldb] Delegate to ABI plugin to check if call frame addresses are valid (PR #161398)

2025-10-17 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: None (pveras) Changes Specially when dealing with different address spaces, CFAs could start from addresses like 0. For instance, Nvidia GPUs have instructions to read from local memory that use 0-based offsets and stack memory can be refe

[Lldb-commits] [clang] [clang-tools-extra] [compiler-rt] [libc] [libcxx] [lld] [lldb] [llvm] [mlir] [openmp] [polly] Python-related cleanups (PR #163566)

2025-10-17 Thread David Spickett via lldb-commits
DavidSpickett wrote: > This suggests that the polly/utils scripts haven't been ran by anyone for > quite some time. Yes, this makes sense. I tried "vermin" on it and it reports the same lines as not being python3 compatible. You can exclude the Polly changes. > The PYTHON_EXECUTABLE and the s

[Lldb-commits] [lldb] Delegate to ABI plugin to check if call frame addresses are valid (PR #161398)

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

[Lldb-commits] [lldb] Refine `qWasmCallStack` documentation (PR #163803)

2025-10-17 Thread Jason Molenda via lldb-commits
jasonmolenda wrote: Is it possible for a 32-bit wasm implementation? I think "Wasm list (with no delimiters) of 64-bit PC values" is making it clear that we expect 8 bytes for each address, but I wasn't sure if it's trying to distinguish between a 64-bit and 32-bit environment. https://githu

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

2025-10-17 Thread Charles Zablit via lldb-commits
https://github.com/charles-zablit updated https://github.com/llvm/llvm-project/pull/162509 >From 37cf46ea187afd50ce8b1eae58239aafe9b115db Mon Sep 17 00:00:00 2001 From: Charles Zablit Date: Wed, 8 Oct 2025 17:18:51 +0100 Subject: [PATCH 1/2] [lldb][windows] add support for out of PATH python.dl

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

2025-10-17 Thread Adrian Vogelsgesang via lldb-commits
@@ -1439,13 +1444,133 @@ void Thread::CalculateExecutionContext(ExecutionContext &exe_ctx) { StackFrameListSP Thread::GetStackFrameList() { std::lock_guard guard(m_frame_mutex); - if (!m_curr_frames_sp) -m_curr_frames_sp = -std::make_shared(*this, m_prev_frames

[Lldb-commits] [clang] [lldb] [llvm] [ADT] Mark StringSwitch Cases with 6+ arguments as deprecated. NFC. (PR #163405)

2025-10-17 Thread Jakub Kuderski via lldb-commits
https://github.com/kuhar updated https://github.com/llvm/llvm-project/pull/163405 >From 6d0d2d7171b2ebe6670c3b0b4966b4b1b42147d7 Mon Sep 17 00:00:00 2001 From: Jakub Kuderski Date: Tue, 14 Oct 2025 10:23:32 -0400 Subject: [PATCH 1/4] [ADT] Mark StringSwitch Cases 6+ arguments as deprecated. NF

[Lldb-commits] [clang] [lldb] [Clang] Introduce OverflowBehaviorType for fine-grained overflow control (PR #148914)

2025-10-17 Thread Matheus Izvekov via lldb-commits
@@ -1146,23 +1161,16 @@ def Parentheses : DiagGroup<"parentheses", // - conversion warnings for literals are on by default // - bool-to-pointer conversion warnings are on by default // - __null-to-integer conversion warnings are on by default -def Conversion : DiagGroup<"

[Lldb-commits] [lldb] [lldb] Fix stepping out if the return address is not allowed to stop at (PR #161982)

2025-10-17 Thread via lldb-commits
https://github.com/jimingham approved this pull request. We had to fix this in another place just recently, this is the right thing to do. Thanks for the test! https://github.com/llvm/llvm-project/pull/161982 ___ lldb-commits mailing list lldb-commit

[Lldb-commits] [lldb] [lldb][Language] Simplify SourceLanguage::GetDescription (PR #161804)

2025-10-17 Thread Michael Buch via lldb-commits
https://github.com/Michael137 updated https://github.com/llvm/llvm-project/pull/161804 >From 159ee47db1b9f6f609fe8b6b3e866f995d8f2e5c Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Fri, 3 Oct 2025 09:37:52 +0100 Subject: [PATCH 1/6] [lldb][Language] Simplify SourceLanguage::GetDescription C

[Lldb-commits] [lldb] [lldb][IRExecutionUnit] Return error on failure to resolve function address (PR #161363)

2025-10-17 Thread Michael Buch via lldb-commits
Michael137 wrote: @labath Bit of a tricky case that I missed in https://github.com/llvm/llvm-project/pull/148877 While the proposed fix works, it feels like maybe in the presence of debug-maps the flow should be slightly different. E.g., `SymbolFileDWARFDebugMap::ResolveFunctionCallLabel` cou

  1   2   3   4   >