[Lldb-commits] [lldb] fix parallel module loading deadlock for Linux DYLD (PR #166480)

2025-11-04 Thread Tom Yang via lldb-commits
https://github.com/zhyty updated https://github.com/llvm/llvm-project/pull/166480 >From ffd2e0c0cfcbe9c20deda9e95a08ebcc30dcb14e Mon Sep 17 00:00:00 2001 From: Tom Yang Date: Tue, 14 Oct 2025 00:13:03 -0700 Subject: [PATCH 1/2] move preload out of GetOrCreateModules and parallelize Summary: T

[Lldb-commits] [lldb] [lldb] Support arbitrary precision integer registers (PR #166363)

2025-11-04 Thread Matej Košík via lldb-commits
https://github.com/sedymrak edited https://github.com/llvm/llvm-project/pull/166363 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] Support arbitrary precision integer registers (PR #166363)

2025-11-04 Thread Matej Košík via lldb-commits
https://github.com/sedymrak updated https://github.com/llvm/llvm-project/pull/166363 From de6f9a818d4210bc4838e6cebc3645167d660ca5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ko=C5=A1=C3=ADk?= Date: Fri, 31 Oct 2025 18:12:18 +0100 Subject: [PATCH 1/9] [lldb] reorganize existing tests (in o

[Lldb-commits] [lldb] [lldb] Support arbitrary precision integer registers (PR #166363)

2025-11-04 Thread Matej Košík via lldb-commits
@@ -218,7 +218,7 @@ class RegisterValue { } void SetUInt128(llvm::APInt uint) { -m_type = eTypeUInt128; +m_type = eTypeUIntBig; m_scalar = std::move(uint); } sedymrak wrote: I am not sure which of the two possibilties: - `eTypeUInt` - `eTy

[Lldb-commits] [lldb] fix parallel module loading deadlock for Linux DYLD (PR #166480)

2025-11-04 Thread Tom Yang via lldb-commits
https://github.com/zhyty edited https://github.com/llvm/llvm-project/pull/166480 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] fix parallel module loading deadlock for Linux DYLD (PR #166480)

2025-11-04 Thread Tom Yang via lldb-commits
https://github.com/zhyty edited https://github.com/llvm/llvm-project/pull/166480 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [clang] [lldb] [lldb] Re-use clang's keyword enable/disable mechanism in CPlusPlusNameParser.cpp (PR #164284)

2025-11-04 Thread Daniel Sanders via lldb-commits
dsandersllvm wrote: > `lldb/unittests/Language/CPlusPlus/CPlusPlusLanguageTest.cpp` has some > unit-tests for `CPlusPlusNameParser` (and friends). If we added a constructor > to `CPlusPlusNameParser` which took a user-provided `LangOptions` (but > defaults to the existing one) that we could ad

[Lldb-commits] [clang] [lldb] [lldb] Re-use clang's keyword enable/disable mechanism in CPlusPlusNameParser.cpp (PR #164284)

2025-11-04 Thread Daniel Sanders via lldb-commits
dsandersllvm wrote: Done https://github.com/llvm/llvm-project/pull/164284 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [clang] [lldb] [lldb] Re-use clang's keyword enable/disable mechanism in CPlusPlusNameParser.cpp (PR #164284)

2025-11-04 Thread Daniel Sanders via lldb-commits
https://github.com/dsandersllvm updated https://github.com/llvm/llvm-project/pull/164284 >From e1175e636933074c6c00f52f9c5287b4a4cf002c Mon Sep 17 00:00:00 2001 From: Daniel Sanders Date: Fri, 17 Oct 2025 18:10:51 -0700 Subject: [PATCH 01/11] [lldb] Re-use clang's keyword enable/disable mechani

[Lldb-commits] [lldb] fix parallel module loading deadlock for Linux DYLD (PR #166480)

2025-11-04 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/include/lldb/Core/ModuleList.h lldb/inclu

[Lldb-commits] [lldb] fix parallel module loading deadlock for Linux DYLD (PR #166480)

2025-11-04 Thread Tom Yang via lldb-commits
https://github.com/zhyty created https://github.com/llvm/llvm-project/pull/166480 Another attempt at resolving the deadlock issue @hyubo discovered (his previous [attempt](https://github.com/llvm/llvm-project/pull/160225)). This change can be summarized as the following: * Plumb through a boo

[Lldb-commits] [lldb] [lldb] Add function to tell if a section is a GOT section (PR #165936)

2025-11-04 Thread Jason Molenda via lldb-commits
https://github.com/jasonmolenda approved this pull request. LGTM, my only concerns are about whether we need to handle the same thing in ELF. https://github.com/llvm/llvm-project/pull/165936 ___ lldb-commits mailing list [email protected] ht

[Lldb-commits] [lldb] [lldb] Add function to tell if a section is a GOT section (PR #165936)

2025-11-04 Thread Jason Molenda via lldb-commits
jasonmolenda wrote: Does this same issue need to be handled on Linux / ObjectFileELF? https://github.com/llvm/llvm-project/pull/165936 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commit

[Lldb-commits] [lldb] [llvm] [lldb][NativePDB] Fix crash in debugger when PDB has bad type index value (PR #166455)

2025-11-04 Thread Vladimir Gorsunov via lldb-commits
https://github.com/gv updated https://github.com/llvm/llvm-project/pull/166455 >From 2ef9272549d2fb1b63256730d41ac9570a4a909e Mon Sep 17 00:00:00 2001 From: Vladimir Gorsunov Date: Tue, 4 Nov 2025 23:44:08 +0200 Subject: [PATCH] [lldb][NativePDB] Fix crash in debugger when PDB has bad type inde

[Lldb-commits] [lldb] [lldb] Make sure that the "TypeSystemClang::GetBuiltinTypeByName" method returns the correct value also for "_BitInt(...)" types. (PR #165857)

2025-11-04 Thread Matej Košík via lldb-commits
https://github.com/sedymrak edited https://github.com/llvm/llvm-project/pull/165857 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [LLDB][NativePDB] Add non-overlapping fields in root struct (PR #166243)

2025-11-04 Thread Jonas Devlieghere via lldb-commits
@@ -462,8 +466,23 @@ void UdtRecordCompleter::Record::ConstructRecord() { } if (iter->second.empty()) continue; - parent = iter->second.back(); - iter->second.pop_back(); + + // If the new fields come after the already added ones + // wit

[Lldb-commits] [lldb] [LLDB][NativePDB] Add non-overlapping fields in root struct (PR #166243)

2025-11-04 Thread Jonas Devlieghere via lldb-commits
@@ -462,8 +466,23 @@ void UdtRecordCompleter::Record::ConstructRecord() { } if (iter->second.empty()) continue; - parent = iter->second.back(); - iter->second.pop_back(); + + // If the new fields come after the already added ones + // wit

[Lldb-commits] [lldb] [lldb] Support arbitrary precision integer registers (PR #166363)

2025-11-04 Thread Jonas Devlieghere via lldb-commits
Matej =?utf-8?q?Košík?= , Matej =?utf-8?q?Košík?= , Matej =?utf-8?q?Košík?= , Matej =?utf-8?q?Košík?= , Matej =?utf-8?q?Košík?= , Matej =?utf-8?q?Košík?= , Matej =?utf-8?q?Košík?= Message-ID: In-Reply-To: @@ -218,7 +218,7 @@ class RegisterValue { } void SetUInt128(llvm:

[Lldb-commits] [lldb] [lldb] Support arbitrary precision integer registers (PR #166363)

2025-11-04 Thread Jonas Devlieghere via lldb-commits
Matej =?utf-8?q?Ko=C5=A1=C3=ADk?= , Matej =?utf-8?q?Ko=C5=A1=C3=ADk?= , Matej =?utf-8?q?Ko=C5=A1=C3=ADk?= , Matej =?utf-8?q?Ko=C5=A1=C3=ADk?= , Matej =?utf-8?q?Ko=C5=A1=C3=ADk?= , Matej =?utf-8?q?Ko=C5=A1=C3=ADk?= , Matej =?utf-8?q?Ko=C5=A1=C3=ADk?= Message-ID: In-Reply-To: @@

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

2025-11-04 Thread Med Ismail Bennani via lldb-commits
@@ -5392,6 +5393,109 @@ class CommandObjectTargetDump : public CommandObjectMultiword { ~CommandObjectTargetDump() override = default; }; +#pragma mark CommandObjectTargetFrameProvider + +#define LLDB_OPTIONS_target_frame_provider_register +#include "CommandOptions.inc" + +

[Lldb-commits] [lldb] [LLDB][NativePDB] Add non-overlapping fields in root struct (PR #166243)

2025-11-04 Thread Zequan Wu via lldb-commits
https://github.com/ZequanWu approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/166243 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] Support arbitrary precision integer registers (PR #166363)

2025-11-04 Thread Matej Košík via lldb-commits
sedymrak wrote: > LLDB PRs should start with the "[lldb]" tag. Also, "generalize LLDB codebase" > seems a bit excessive for this change.Something like "[lldb] Support > arbitrary precision integer registers" would be more precise and to the point. Thank you. I wasn't quite sure what title shou

[Lldb-commits] [lldb] [lldb] Support arbitrary precision integer registers (PR #166363)

2025-11-04 Thread Matej Košík via lldb-commits
https://github.com/sedymrak updated https://github.com/llvm/llvm-project/pull/166363 From de6f9a818d4210bc4838e6cebc3645167d660ca5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ko=C5=A1=C3=ADk?= Date: Fri, 31 Oct 2025 18:12:18 +0100 Subject: [PATCH 1/8] [lldb] reorganize existing tests (in o

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

2025-11-04 Thread Med Ismail Bennani via lldb-commits
@@ -2408,3 +2410,55 @@ lldb::SBMutex SBTarget::GetAPIMutex() const { return lldb::SBMutex(target_sp); return lldb::SBMutex(); } + +lldb::SBError +SBTarget::RegisterScriptedFrameProvider(const char *class_name, +lldb::SBStructuredDat

[Lldb-commits] [lldb] [LLDB][NativePDB] Add non-overlapping fields in root struct (PR #166243)

2025-11-04 Thread via lldb-commits
@@ -243,3 +255,44 @@ TEST_F(UdtRecordCompleterRecordTests, TestNestedUnionStructInUnion) { AddField(s2, "m4", 2, 4, Member::Field); EXPECT_EQ(WrappedRecord(this->record), WrappedRecord(record)); } + +TEST_F(UdtRecordCompleterRecordTests, TestNestedUnionStructInUnion2) { +

[Lldb-commits] [lldb] [LLDB][NativePDB] Add non-overlapping fields in root struct (PR #166243)

2025-11-04 Thread via lldb-commits
https://github.com/Nerixyz edited https://github.com/llvm/llvm-project/pull/166243 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [LLDB][NativePDB] Add non-overlapping fields in root struct (PR #166243)

2025-11-04 Thread via lldb-commits
https://github.com/Nerixyz updated https://github.com/llvm/llvm-project/pull/166243 >From 22628e5e4ea56a5e06c8550a66cb86d1470cba0b Mon Sep 17 00:00:00 2001 From: Nerixyz Date: Mon, 3 Nov 2025 22:31:35 +0100 Subject: [PATCH 1/5] [LLDB][NativePDB] Add non-overlapping fields in root struct ---

[Lldb-commits] [lldb] [LLDB][NativePDB] Add non-overlapping fields in root struct (PR #166243)

2025-11-04 Thread via lldb-commits
@@ -243,3 +255,44 @@ TEST_F(UdtRecordCompleterRecordTests, TestNestedUnionStructInUnion) { AddField(s2, "m4", 2, 4, Member::Field); EXPECT_EQ(WrappedRecord(this->record), WrappedRecord(record)); } + +TEST_F(UdtRecordCompleterRecordTests, TestNestedUnionStructInUnion2) { +

[Lldb-commits] [lldb] [lldb] Support arbitrary precision integer registers (PR #166363)

2025-11-04 Thread Matej Košík via lldb-commits
https://github.com/sedymrak edited https://github.com/llvm/llvm-project/pull/166363 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] 2141edf - [lldb] Skip tests on older versions of clang

2025-11-04 Thread Adrian Prantl via lldb-commits
Author: Adrian Prantl Date: 2025-11-04T12:53:23-08:00 New Revision: 2141edf506baab7e526f3a305bcdb6d6f2c772bc URL: https://github.com/llvm/llvm-project/commit/2141edf506baab7e526f3a305bcdb6d6f2c772bc DIFF: https://github.com/llvm/llvm-project/commit/2141edf506baab7e526f3a305bcdb6d6f2c772bc.diff

[Lldb-commits] [lldb] [LLDB][NativePDB] Add non-overlapping fields in root struct (PR #166243)

2025-11-04 Thread Zequan Wu via lldb-commits
@@ -243,3 +255,44 @@ TEST_F(UdtRecordCompleterRecordTests, TestNestedUnionStructInUnion) { AddField(s2, "m4", 2, 4, Member::Field); EXPECT_EQ(WrappedRecord(this->record), WrappedRecord(record)); } + +TEST_F(UdtRecordCompleterRecordTests, TestNestedUnionStructInUnion2) { +

[Lldb-commits] [lldb] [LLDB] Run API tests with PDB too (PR #149305)

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

[Lldb-commits] [lldb] 5be12e1 - [LLDB] Run API tests with PDB too (#149305)

2025-11-04 Thread via lldb-commits
Author: nerix Date: 2025-11-04T20:23:33+01:00 New Revision: 5be12e1c95e897a9da713d49255868eea7ad60fa URL: https://github.com/llvm/llvm-project/commit/5be12e1c95e897a9da713d49255868eea7ad60fa DIFF: https://github.com/llvm/llvm-project/commit/5be12e1c95e897a9da713d49255868eea7ad60fa.diff LOG: [L

[Lldb-commits] [clang] [lldb] [Clang][LLDB] Refactor trap reason demangling out of LLDB and into Clang (PR #165996)

2025-11-04 Thread Dan Liew via lldb-commits
delcypher wrote: @Michael137 I've rebased this patch on https://github.com/llvm/llvm-project/pull/166157 https://github.com/llvm/llvm-project/pull/165996 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/

[Lldb-commits] [clang] [lldb] [Clang][LLDB] Refactor trap reason demangling out of LLDB and into Clang (PR #165996)

2025-11-04 Thread Dan Liew via lldb-commits
https://github.com/delcypher updated https://github.com/llvm/llvm-project/pull/165996 >From 57c0952eacf181bb9f72c935050f032f7e163761 Mon Sep 17 00:00:00 2001 From: Dan Liew Date: Sat, 1 Nov 2025 02:19:20 -0700 Subject: [PATCH] [Clang][LLDB] Refactor trap reason demangling out of LLDB and into

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

2025-11-04 Thread John McCall via lldb-commits
rjmccall wrote: The suggestion was specifically limited to parameters: basically, when expressions are used to initialize parameters, the final conversion to the parameter type should work as if the parameter did not have an OBT. `__ob_trap` as currently designed really only provides strong sa

[Lldb-commits] [lldb] [lldb] Add function to tell if a section is a GOT section (PR #165936)

2025-11-04 Thread Alex Langford via lldb-commits
https://github.com/bulbazord approved this pull request. Seems reasonable and straightforward. What does the swift plugin do with this information? https://github.com/llvm/llvm-project/pull/165936 ___ lldb-commits mailing list [email protected].

[Lldb-commits] [lldb] [lldb] Add function to tell if a section is a GOT section (PR #165936)

2025-11-04 Thread Alex Langford via lldb-commits
https://github.com/bulbazord edited https://github.com/llvm/llvm-project/pull/165936 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] Add function to tell if a section is a GOT section (PR #165936)

2025-11-04 Thread Alex Langford via lldb-commits
@@ -5936,6 +5922,20 @@ Section *ObjectFileMachO::GetMachHeaderSection() { return nullptr; } +bool ObjectFileMachO::IsGOTSection(const lldb_private::Section §ion) const { + assert(section.GetObjectFile() == this && "Wrong object file!"); + SectionSP segment = section.GetPa

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

2025-11-04 Thread Justin Stitt via lldb-commits
JustinStitt wrote: Summarizing the round table w/ @ojhunt @rjmccall @mizvekov @efriedma-quic (and others) it seems the current design ([summarized by John in the rfc](https://discourse.llvm.org/t/rfc-v2-clang-introduce-overflowbehaviortypes-for-wrapping-and-non-wrapping-arithmetic/86507/46?u=ju

[Lldb-commits] [lldb] [lldb-dap] Addressing orphaned processes in tests. (PR #166205)

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

[Lldb-commits] [lldb] 83d1599 - [lldb-dap] Addressing orphaned processes in tests. (#166205)

2025-11-04 Thread via lldb-commits
Author: John Harrison Date: 2025-11-04T09:04:56-08:00 New Revision: 83d1599871b2bf7cf8a093c272367a141767a895 URL: https://github.com/llvm/llvm-project/commit/83d1599871b2bf7cf8a093c272367a141767a895 DIFF: https://github.com/llvm/llvm-project/commit/83d1599871b2bf7cf8a093c272367a141767a895.diff

[Lldb-commits] [lldb] 78769d5 - [LLDB] Don't check for libcxx if LLDB_ENFORCE_STRICT_TEST_REQUIREMENTS is off

2025-11-04 Thread Adrian Prantl via lldb-commits
Author: Adrian Prantl Date: 2025-11-04T08:30:22-08:00 New Revision: 78769d51c6b183b6d88fbd1ef825fff7cf3aad21 URL: https://github.com/llvm/llvm-project/commit/78769d51c6b183b6d88fbd1ef825fff7cf3aad21 DIFF: https://github.com/llvm/llvm-project/commit/78769d51c6b183b6d88fbd1ef825fff7cf3aad21.diff

[Lldb-commits] [lldb] generalize LLDB codebase so that it is able to print integer register of non-standard sizes (PR #166363)

2025-11-04 Thread Jonas Devlieghere via lldb-commits
Matej =?utf-8?q?Košík?= , Matej =?utf-8?q?Košík?= , Matej =?utf-8?q?Košík?= , Matej =?utf-8?q?Košík?= , Matej =?utf-8?q?Košík?= , Matej =?utf-8?q?Košík?= Message-ID: In-Reply-To: @@ -46,7 +46,7 @@ class RegisterValue { eTypeUInt16, eTypeUInt32, eTypeUInt64, -

[Lldb-commits] [lldb] generalize LLDB codebase so that it is able to print integer register of non-standard sizes (PR #166363)

2025-11-04 Thread Jonas Devlieghere via lldb-commits
Matej =?utf-8?q?Košík?= , Matej =?utf-8?q?Košík?= , Matej =?utf-8?q?Košík?= , Matej =?utf-8?q?Košík?= , Matej =?utf-8?q?Košík?= , Matej =?utf-8?q?Košík?= Message-ID: In-Reply-To: @@ -218,7 +218,7 @@ class RegisterValue { } void SetUInt128(llvm::APInt uint) { -m_type

[Lldb-commits] [lldb] generalize LLDB codebase so that it is able to print integer register of non-standard sizes (PR #166363)

2025-11-04 Thread Jonas Devlieghere via lldb-commits
Matej =?utf-8?q?Košík?= , Matej =?utf-8?q?Košík?= , Matej =?utf-8?q?Košík?= , Matej =?utf-8?q?Košík?= , Matej =?utf-8?q?Košík?= , Matej =?utf-8?q?Košík?= Message-ID: In-Reply-To: https://github.com/JDevlieghere commented: LLDB PRs should start with the "[lldb]" tag. Also, "generalize LLDB code

[Lldb-commits] [lldb] generalize LLDB codebase so that it is able to print integer register of non-standard sizes (PR #166363)

2025-11-04 Thread Jonas Devlieghere via lldb-commits
Matej =?utf-8?q?Košík?= , Matej =?utf-8?q?Košík?= , Matej =?utf-8?q?Košík?= , Matej =?utf-8?q?Košík?= , Matej =?utf-8?q?Košík?= , Matej =?utf-8?q?Košík?= Message-ID: In-Reply-To: https://github.com/JDevlieghere edited https://github.com/llvm/llvm-project/pull/166363 ___

[Lldb-commits] [lldb] [llvm] [polly] [ADT] Deprecate a soft-deprecated APInt constructor (PR #166314)

2025-11-04 Thread Kazu Hirata via lldb-commits
https://github.com/kazutakahirata closed https://github.com/llvm/llvm-project/pull/166314 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] ed7d6c3 - [ADT] Deprecate a soft-deprecated APInt constructor (#166314)

2025-11-04 Thread via lldb-commits
Author: Kazu Hirata Date: 2025-11-04T08:28:51-08:00 New Revision: ed7d6c3511df7f5d1dbf52579740f7f4e4ada4f9 URL: https://github.com/llvm/llvm-project/commit/ed7d6c3511df7f5d1dbf52579740f7f4e4ada4f9 DIFF: https://github.com/llvm/llvm-project/commit/ed7d6c3511df7f5d1dbf52579740f7f4e4ada4f9.diff L

[Lldb-commits] [clang] [clang-tools-extra] [flang] [lldb] [llvm] [clang] Refactor option-related code from clangDriver into new clangOptions library (PR #163659)

2025-11-04 Thread Jan Svoboda via lldb-commits
@@ -27,7 +27,6 @@ #include "clang/Basic/XRayInstr.h" #include "clang/Config/config.h" #include "clang/Driver/Driver.h" jansvoboda11 wrote: I'd expect `CompilerInvocation` to drop the dependency on `Driver` entirely. I suspect the only reason this patch doesn'

[Lldb-commits] [clang] [clang-tools-extra] [flang] [lldb] [llvm] [clang] Refactor option-related code from clangDriver into new clangOptions library (PR #163659)

2025-11-04 Thread Jan Svoboda via lldb-commits
https://github.com/jansvoboda11 edited https://github.com/llvm/llvm-project/pull/163659 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [clang] [clang-tools-extra] [flang] [lldb] [llvm] [clang] Refactor option-related code from clangDriver into new clangOptions library (PR #163659)

2025-11-04 Thread Jan Svoboda via lldb-commits
https://github.com/jansvoboda11 approved this pull request. This looks great, thanks! https://github.com/llvm/llvm-project/pull/163659 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commit

[Lldb-commits] [lldb] [lldb] When starting in a hidden frame, don't skip over hidden frames when navigating up/down (PR #166394)

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

[Lldb-commits] [lldb] 4749bf5 - [lldb] When starting in a hidden frame, don't skip over hidden frames when navigating up/down (#166394)

2025-11-04 Thread via lldb-commits
Author: Michael Buch Date: 2025-11-04T16:24:24Z New Revision: 4749bf56a65e38ee7b05ac7f9fe261aab6cb5bc6 URL: https://github.com/llvm/llvm-project/commit/4749bf56a65e38ee7b05ac7f9fe261aab6cb5bc6 DIFF: https://github.com/llvm/llvm-project/commit/4749bf56a65e38ee7b05ac7f9fe261aab6cb5bc6.diff LOG:

[Lldb-commits] [lldb] [lldb] When starting in a hidden frame, don't skip over hidden frames when navigating up/down (PR #166394)

2025-11-04 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Michael Buch (Michael137) Changes When stopped in a hidden frame (either because we selected the hidden frame or hit a breakpoint inside it), a user most likely is intersted in exploring the immediate frames around it. But currently issuin

[Lldb-commits] [lldb] [lldb] When starting in a hidden frame, don't skip over hidden frames when navigating up/down (PR #166394)

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

[Lldb-commits] [lldb] [lldb] When starting in a hidden frame, don't skip over hidden frames when navigating up/down (PR #166394)

2025-11-04 Thread Michael Buch via lldb-commits
https://github.com/Michael137 ready_for_review https://github.com/llvm/llvm-project/pull/166394 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] When starting in a hidden frame, don't skip over hidden frames when navigating up/down (PR #166394)

2025-11-04 Thread Adrian Prantl via lldb-commits
https://github.com/adrian-prantl approved this pull request. I think that is a good behavior change. https://github.com/llvm/llvm-project/pull/166394 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listi

[Lldb-commits] [lldb] [lldb] When starting in a hidden frame, don't skip over hidden frames when navigating up/down (PR #166394)

2025-11-04 Thread Michael Buch via lldb-commits
https://github.com/Michael137 updated https://github.com/llvm/llvm-project/pull/166394 >From 374324ef35c9d706ce227650e4567af7772a50a6 Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Tue, 4 Nov 2025 16:00:24 + Subject: [PATCH] [lldb] When starting in a hidden frame, don't skip over hidden

[Lldb-commits] [lldb] [LLDB] Add type casting to DIL, part 1 of 3. (PR #165199)

2025-11-04 Thread Ilia Kuklin via lldb-commits
@@ -608,4 +608,16 @@ Interpreter::Visit(const BooleanLiteralNode *node) { return ValueObject::CreateValueObjectFromBool(m_target, value, "result"); } +llvm::Expected +Interpreter::Visit(const CStyleCastNode *node) { + auto operand_or_err = Evaluate(node->GetOperand()); + i

[Lldb-commits] [lldb] [lldb] When starting in a hidden frame, don't skip over hidden frames when navigating up/down (PR #166394)

2025-11-04 Thread Michael Buch via lldb-commits
https://github.com/Michael137 created https://github.com/llvm/llvm-project/pull/166394 When stopped in a hidden frame (either because we selected the hidden frame or hit a breakpoint inside it), a user most likely is intersted in exploring the immediate frames around it. But currently issuing

[Lldb-commits] [lldb] [llvm] [polly] [ADT] Deprecate a soft-deprecated APInt constructor (PR #166314)

2025-11-04 Thread Jakub Kuderski via lldb-commits
https://github.com/kuhar approved this pull request. https://github.com/llvm/llvm-project/pull/166314 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [llvm] [polly] [ADT] Deprecate a soft-deprecated APInt constructor (PR #166314)

2025-11-04 Thread Tim Gymnich via lldb-commits
https://github.com/tgymnich approved this pull request. https://github.com/llvm/llvm-project/pull/166314 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [llvm] [polly] [ADT] Deprecate a soft-deprecated APInt constructor (PR #166314)

2025-11-04 Thread Kazu Hirata via lldb-commits
@@ -154,6 +154,7 @@ class [[nodiscard]] APInt { /// Once all uses of this constructor are migrated to other constructors, /// consider marking this overload ""= delete" to prevent calls from being /// incorrectly bound to the APInt(unsigned, uint64_t, bool) constructor. +

[Lldb-commits] [lldb] [llvm] [polly] [ADT] Deprecate a soft-deprecated APInt constructor (PR #166314)

2025-11-04 Thread Kazu Hirata via lldb-commits
https://github.com/kazutakahirata updated https://github.com/llvm/llvm-project/pull/166314 >From c5add8b381e87dca0cfdb627207c8a7d8ea3127c Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Mon, 1 Sep 2025 17:46:00 -0700 Subject: [PATCH 1/2] [ADT] Deprecate a soft-deprecated APInt constructor Thi

[Lldb-commits] [lldb] [llvm] [polly] [ADT] Deprecate a soft-deprecated APInt constructor (PR #166314)

2025-11-04 Thread Jakub Kuderski via lldb-commits
@@ -154,6 +154,7 @@ class [[nodiscard]] APInt { /// Once all uses of this constructor are migrated to other constructors, /// consider marking this overload ""= delete" to prevent calls from being /// incorrectly bound to the APInt(unsigned, uint64_t, bool) constructor. +

[Lldb-commits] [lldb] [lldb][attempt #3] update lldb-server platform help parsing (PR #164904)

2025-11-04 Thread Chad Smith via lldb-commits
cs01 wrote: Ping @adrian-prantl https://github.com/llvm/llvm-project/pull/164904 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] generalize LLDB codebase so that it is able to print integer register of non-standard sizes (PR #166363)

2025-11-04 Thread Matej Košík via lldb-commits
https://github.com/sedymrak updated https://github.com/llvm/llvm-project/pull/166363 From de6f9a818d4210bc4838e6cebc3645167d660ca5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ko=C5=A1=C3=ADk?= Date: Fri, 31 Oct 2025 18:12:18 +0100 Subject: [PATCH 1/7] [lldb] reorganize existing tests (in o

[Lldb-commits] [lldb] generalize LLDB codebase so that it is able to print integer register of non-standard sizes (PR #166363)

2025-11-04 Thread via lldb-commits
Matej =?utf-8?q?Košík?= , Matej =?utf-8?q?Košík?= , Matej =?utf-8?q?Košík?= , Matej =?utf-8?q?Košík?= , Matej =?utf-8?q?Košík?= Message-ID: In-Reply-To: github-actions[bot] wrote: :warning: C/C++ code formatter, clang-format found issues in your code. :warning: You can test this locally

[Lldb-commits] [lldb] generalize LLDB codebase so that it is able to print integer register of non-standard sizes (PR #166363)

2025-11-04 Thread Matej Košík via lldb-commits
https://github.com/sedymrak edited https://github.com/llvm/llvm-project/pull/166363 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] 2025 11 01 fix register value set value from data method (PR #166363)

2025-11-04 Thread via lldb-commits
Matej =?utf-8?q?Košík?= , Matej =?utf-8?q?Košík?= , Matej =?utf-8?q?Košík?= , Matej =?utf-8?q?Košík?= , Matej =?utf-8?q?Košík?= Message-ID: In-Reply-To: llvmbot wrote: @llvm/pr-subscribers-lldb Author: Matej Košík (sedymrak) Changes These changes generalize LLDB codebase so that it is a

[Lldb-commits] [lldb] 2025 11 01 fix register value set value from data method (PR #166363)

2025-11-04 Thread Matej Košík via lldb-commits
https://github.com/sedymrak created https://github.com/llvm/llvm-project/pull/166363 These changes generalize LLDB codebase so that it is able to print integer registers that do not have the conventional size (neither 8-bits, nor 16-bits nor 32-bits nor 64-bits). From de6f9a818d4210bc4838e6ce

[Lldb-commits] [lldb] 8636c40 - [lldb][test] Skip registration-unique.test on Windows

2025-11-04 Thread Michael Buch via lldb-commits
Author: Michael Buch Date: 2025-11-04T12:04:08Z New Revision: 8636c40f4e5451fd9a6b64c22abe0e8d561f7c89 URL: https://github.com/llvm/llvm-project/commit/8636c40f4e5451fd9a6b64c22abe0e8d561f7c89 DIFF: https://github.com/llvm/llvm-project/commit/8636c40f4e5451fd9a6b64c22abe0e8d561f7c89.diff LOG:

[Lldb-commits] [lldb] c80faae - [lldb][test] registration-unique.test: don't hardcode the order of recognizer registration

2025-11-04 Thread Michael Buch via lldb-commits
Author: Michael Buch Date: 2025-11-04T11:45:29Z New Revision: c80faaefe10fcf3bac1c41b78e038d8d7533dd71 URL: https://github.com/llvm/llvm-project/commit/c80faaefe10fcf3bac1c41b78e038d8d7533dd71 DIFF: https://github.com/llvm/llvm-project/commit/c80faaefe10fcf3bac1c41b78e038d8d7533dd71.diff LOG:

[Lldb-commits] [clang] [clang-tools-extra] [flang] [lldb] [llvm] [clang] Refactor to remove clangDriver dependency from clangFrontend and flangFrontend (PR #165277)

2025-11-04 Thread Naveen Seth Hanig via lldb-commits
https://github.com/naveen-seth edited https://github.com/llvm/llvm-project/pull/165277 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [clang] [clang-tools-extra] [flang] [lldb] [llvm] [clang] Refactor to remove clangDriver dependency from clangFrontend and flangFrontentd (PR #165277)

2025-11-04 Thread Tarun Prabhu via lldb-commits
tarunprabhu wrote: Just noticed the type in the title: `flangFrontentd` should be `flangFrontend` https://github.com/llvm/llvm-project/pull/165277 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinf

[Lldb-commits] [lldb] [lldb][Runtime] Move VerboseTrapFrameRecognizer into CPPLanguageRuntime (PR #166157)

2025-11-04 Thread Michael Buch via lldb-commits
Michael137 wrote: > LLVM Buildbot has detected a new failure on builder `lldb-x86_64-win` running > on `as-builder-10` while building `lldb` at step 10 "test-check-lldb-shell". > > Full details are available at: > https://lab.llvm.org/buildbot/#/builders/211/builds/3468 > > Here is the releva

[Lldb-commits] [lldb] [lldb][Runtime] Move VerboseTrapFrameRecognizer into CPPLanguageRuntime (PR #166157)

2025-11-04 Thread LLVM Continuous Integration via lldb-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `lldb-x86_64-win` running on `as-builder-10` while building `lldb` at step 10 "test-check-lldb-shell". Full details are available at: https://lab.llvm.org/buildbot/#/builders/211/builds/3468 Here is the relevant piece of the

[Lldb-commits] [clang] [lldb] Reland [MS][clang] Add support for vector deleting destructors (PR #165598)

2025-11-04 Thread Mariya Podchishchaeva via lldb-commits
Fznamznon wrote: > What's the diff from the previous version of this? 1. Now the changes are put under -fclang-abi-compat flag and can be disabled via -fclang-abi-compat=21. 2. The body of the vector deleting destructor now can call class's operator delete or a usual deallocation function, de

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

2025-11-04 Thread Med Ismail Bennani via lldb-commits
@@ -0,0 +1,232 @@ +//===-- ScriptedFrameProvider.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: Apac

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

2025-11-04 Thread Med Ismail Bennani via lldb-commits
@@ -0,0 +1,232 @@ +//===-- ScriptedFrameProvider.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: Apac

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

2025-11-04 Thread Med Ismail Bennani via lldb-commits
@@ -0,0 +1,62 @@ +//===-- 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] Introduce ScriptedFrameProvider for real threads (PR #161870)

2025-11-04 Thread Med Ismail Bennani via lldb-commits
@@ -0,0 +1,232 @@ +//===-- ScriptedFrameProvider.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: Apac

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

2025-11-04 Thread Med Ismail Bennani via lldb-commits
@@ -0,0 +1,232 @@ +//===-- ScriptedFrameProvider.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: Apac

[Lldb-commits] [lldb] [lldb][Runtime] Move VerboseTrapFrameRecognizer into CPPLanguageRuntime (PR #166157)

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

[Lldb-commits] [lldb] bb4ed55 - [lldb][Runtime] Move VerboseTrapFrameRecognizer into CPPLanguageRuntime (#166157)

2025-11-04 Thread via lldb-commits
Author: Michael Buch Date: 2025-11-04T09:25:28Z New Revision: bb4ed55acdbc7f48bc978147189e8106e3ea42f8 URL: https://github.com/llvm/llvm-project/commit/bb4ed55acdbc7f48bc978147189e8106e3ea42f8 DIFF: https://github.com/llvm/llvm-project/commit/bb4ed55acdbc7f48bc978147189e8106e3ea42f8.diff LOG:

[Lldb-commits] [lldb] [lldb][Runtime] Move VerboseTrapFrameRecognizer into CPPLanguageRuntime (PR #166157)

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

[Lldb-commits] [lldb] [lldb][Runtime] Move VerboseTrapFrameRecognizer into CPPLanguageRuntime (PR #166157)

2025-11-04 Thread Michael Buch via lldb-commits
https://github.com/Michael137 updated https://github.com/llvm/llvm-project/pull/166157 >From a824d52e259ef6f7042dd46fe47634f556cbe61e Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Mon, 3 Nov 2025 11:40:17 + Subject: [PATCH 1/3] [lldb][Runtime] Move VerboseTrapFrameRecognizer into CPPLa

[Lldb-commits] [lldb] [lldb][Runtime] Move VerboseTrapFrameRecognizer into CPPLanguageRuntime (PR #166157)

2025-11-04 Thread Michael Buch via lldb-commits
Michael137 wrote: > Thanks for the explanation. A few suggestions: > > * File an issue about the duplicate recognizer bugs and refer to it from the > test case > * Improve the commit description to include your clearer explaination. > > I'll approve now under the assumption you'll fix those. I

[Lldb-commits] [lldb] [lldb][Runtime] Move VerboseTrapFrameRecognizer into CPPLanguageRuntime (PR #166157)

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

[Lldb-commits] [lldb] [LLDB][NativePDB] Add non-overlapping fields in root struct (PR #166243)

2025-11-04 Thread via lldb-commits
@@ -243,3 +255,44 @@ TEST_F(UdtRecordCompleterRecordTests, TestNestedUnionStructInUnion) { AddField(s2, "m4", 2, 4, Member::Field); EXPECT_EQ(WrappedRecord(this->record), WrappedRecord(record)); } + +TEST_F(UdtRecordCompleterRecordTests, TestNestedUnionStructInUnion2) { +

[Lldb-commits] [lldb] [LLDB][NativePDB] Add non-overlapping fields in root struct (PR #166243)

2025-11-04 Thread via lldb-commits
https://github.com/Nerixyz updated https://github.com/llvm/llvm-project/pull/166243 >From 22628e5e4ea56a5e06c8550a66cb86d1470cba0b Mon Sep 17 00:00:00 2001 From: Nerixyz Date: Mon, 3 Nov 2025 22:31:35 +0100 Subject: [PATCH 1/4] [LLDB][NativePDB] Add non-overlapping fields in root struct ---

[Lldb-commits] [clang] [clang-tools-extra] [flang] [lldb] [llvm] [clang] Refactor option-related code from clangDriver into new clangOptions library (PR #163659)

2025-11-04 Thread Fangrui Song via lldb-commits
https://github.com/MaskRay approved this pull request. https://github.com/llvm/llvm-project/pull/163659 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits