[Lldb-commits] [lldb] [lldb] Add WebAssembly Process Plugin (PR #150143)

2025-07-23 Thread Jonas Devlieghere via lldb-commits
@@ -0,0 +1,88 @@ +//===--===// +// +// 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] added getName method in SBModule (PR #150331)

2025-07-23 Thread Jonas Devlieghere via lldb-commits
@@ -671,3 +671,15 @@ void SBModule::GarbageCollectAllocatedModules() { const bool mandatory = false; ModuleList::RemoveOrphanSharedModules(mandatory); } + +const char *SBModule::GetName() const { + LLDB_INSTRUMENT_VA(this); JDevlieghere wrote: There shoul

[Lldb-commits] [lldb] [LLDB] added getName method in SBModule (PR #150331)

2025-07-23 Thread Jonas Devlieghere via lldb-commits
@@ -671,3 +671,15 @@ void SBModule::GarbageCollectAllocatedModules() { const bool mandatory = false; ModuleList::RemoveOrphanSharedModules(mandatory); } + +const char *SBModule::GetName() const { + LLDB_INSTRUMENT_VA(this); + if (!m_opaque_sp) { +return nullptr; + }

[Lldb-commits] [lldb] [LLDB] added getName method in SBModule (PR #150331)

2025-07-23 Thread Jonas Devlieghere via lldb-commits
@@ -671,3 +671,15 @@ void SBModule::GarbageCollectAllocatedModules() { const bool mandatory = false; ModuleList::RemoveOrphanSharedModules(mandatory); } + +const char *SBModule::GetName() const { + LLDB_INSTRUMENT_VA(this); + if (!m_opaque_sp) { +return nullptr; + }

[Lldb-commits] [lldb] [LLDB] added getName method in SBModule (PR #150331)

2025-07-23 Thread Jonas Devlieghere via lldb-commits
@@ -671,3 +671,15 @@ void SBModule::GarbageCollectAllocatedModules() { const bool mandatory = false; ModuleList::RemoveOrphanSharedModules(mandatory); } + +const char *SBModule::GetName() const { + LLDB_INSTRUMENT_VA(this); + if (!m_opaque_sp) { +return nullptr; + }

[Lldb-commits] [lldb] [LLDB] added getName method in SBModule (PR #150331)

2025-07-23 Thread Jonas Devlieghere via lldb-commits
@@ -671,3 +671,15 @@ void SBModule::GarbageCollectAllocatedModules() { const bool mandatory = false; ModuleList::RemoveOrphanSharedModules(mandatory); } + +const char *SBModule::GetName() const { + LLDB_INSTRUMENT_VA(this); + if (!m_opaque_sp) { +return nullptr; + }

[Lldb-commits] [lldb] [LLDB] added getName method in SBModule (PR #150331)

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

[Lldb-commits] [lldb] [LLDB] added getName method in SBModule (PR #150331)

2025-07-23 Thread Jonas Devlieghere via lldb-commits
https://github.com/JDevlieghere requested changes to this pull request. TL;DR: ```suggestion const char *SBModule::GetName() const { LLDB_INSTRUMENT_VA(this); if (!m_opaque_sp) return nullptr; return m_opaque_sp->GetObjectName().AsCString(); } ``` This also needs a test. https://g

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

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

[Lldb-commits] [lldb] [LLDB] Update SBMemoryRegionInfo doc strings to document len and str (PR #149903)

2025-07-23 Thread via lldb-commits
https://github.com/barsolo2000 updated https://github.com/llvm/llvm-project/pull/149903 >From e9fdc0a001823db1df26158845301aec94cd2b8a Mon Sep 17 00:00:00 2001 From: Bar Soloveychik Date: Mon, 21 Jul 2025 13:29:58 -0700 Subject: [PATCH 1/9] added documenatation on GetDescription --- .../inter

[Lldb-commits] [lldb] [LLDB] added getName method in SBModule (PR #150331)

2025-07-23 Thread via lldb-commits
https://github.com/barsolo2000 updated https://github.com/llvm/llvm-project/pull/150331 >From b79edf938d49d03498ec3a9228344a684d0cbf6e Mon Sep 17 00:00:00 2001 From: Bar Soloveychik Date: Wed, 23 Jul 2025 15:17:29 -0700 Subject: [PATCH 1/2] [LLDB] added getName method in SBModule --- lldb/inc

[Lldb-commits] [lldb] [lldb][cmake] Remove unnecessary target dependency (PR #150300)

2025-07-23 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Chelsea Cassanova (chelcassanova) Changes On the LLDB GreenDragon standalone build, there's currently an error at config time wherein the target libldlb-resource-headers and the individual targets that run the framework fixup script on the

[Lldb-commits] [lldb] [lldb][cmake] Remove unnecessary target dependency (PR #150300)

2025-07-23 Thread Chelsea Cassanova via lldb-commits
https://github.com/chelcassanova created https://github.com/llvm/llvm-project/pull/150300 On the LLDB GreenDragon standalone build, there's currently an error at config time wherein the target libldlb-resource-headers and the individual targets that run the framework fixup script on the header

[Lldb-commits] [lldb] [lldb] Add WebAssembly Process Plugin (PR #150143)

2025-07-23 Thread Adrian Prantl via lldb-commits
@@ -0,0 +1,88 @@ +//===--===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apac

[Lldb-commits] [lldb] [lldb] Add WebAssembly Process Plugin (PR #150143)

2025-07-23 Thread Adrian Prantl via lldb-commits
@@ -0,0 +1,88 @@ +//===--===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apac

[Lldb-commits] [lldb] [lldb] Add WebAssembly Process Plugin (PR #150143)

2025-07-23 Thread Adrian Prantl via lldb-commits
@@ -0,0 +1,88 @@ +//===--===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apac

[Lldb-commits] [lldb] [lldb] Add WebAssembly Process Plugin (PR #150143)

2025-07-23 Thread Adrian Prantl via lldb-commits
@@ -0,0 +1,124 @@ +//===--===// +// +// 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: Apa

[Lldb-commits] [lldb] [lldb] Add WebAssembly Process Plugin (PR #150143)

2025-07-23 Thread Adrian Prantl via lldb-commits
@@ -0,0 +1,124 @@ +//===--===// +// +// 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: Apa

[Lldb-commits] [lldb] [lldb] Add WebAssembly Process Plugin (PR #150143)

2025-07-23 Thread Adrian Prantl via lldb-commits
@@ -0,0 +1,124 @@ +//===--===// +// +// 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: Apa

[Lldb-commits] [lldb] [lldb] Add WebAssembly Process Plugin (PR #150143)

2025-07-23 Thread Adrian Prantl via lldb-commits
@@ -0,0 +1,88 @@ +//===--===// +// +// 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] Always compute the execution & symbol context (PR #148994)

2025-07-23 Thread Jonas Devlieghere via lldb-commits
https://github.com/JDevlieghere updated https://github.com/llvm/llvm-project/pull/148994 >From a4034e2f0948bfa61bfbf681bd5d9355aeb09beb Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Tue, 15 Jul 2025 16:54:05 -0700 Subject: [PATCH] [lldb] Always compute the execution & symbol context A

[Lldb-commits] [lldb] support ieee_single and ieee_double gdbtypes for registers (PR #150268)

2025-07-23 Thread satyanarayana reddy janga via lldb-commits
https://github.com/satyajanga edited https://github.com/llvm/llvm-project/pull/150268 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] support ieee_single and ieee_double gdbtypes for registers (PR #150268)

2025-07-23 Thread satyanarayana reddy janga via lldb-commits
https://github.com/satyajanga created https://github.com/llvm/llvm-project/pull/150268 Some gdb remote servers send target.xml that contains """ """ it seems like a valid and supported type in gdb. from gdb16.3/gdb/target_descriptions.c (could not find a way to link it).

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

2025-07-23 Thread Chelsea Cassanova via lldb-commits
https://github.com/chelcassanova updated https://github.com/llvm/llvm-project/pull/148996 >From 00ca73ad45dc20832dd281282fac8021aac5f410 Mon Sep 17 00:00:00 2001 From: Chelsea Cassanova Date: Tue, 15 Jul 2025 18:42:34 -0500 Subject: [PATCH] Reland "[lldb][RPC] Upstream lldb-rpc-gen tool" (#146

[Lldb-commits] [lldb] [windows][lldb] implement system logging on Windows (PR #150213)

2025-07-23 Thread Charles Zablit via lldb-commits
@@ -109,6 +109,10 @@ class Host { /// Emit the given message to the operating system log. static void SystemLog(lldb::Severity severity, llvm::StringRef message); + /// Emit the given message to the stdout or stderr depending on severity. + static void SystemLogFallback(

[Lldb-commits] [lldb] [windows][lldb] implement system logging on Windows (PR #150213)

2025-07-23 Thread Charles Zablit via lldb-commits
https://github.com/charles-zablit updated https://github.com/llvm/llvm-project/pull/150213 >From 7a96f44bd01d5a66f18af43d98f4b1ab8776a203 Mon Sep 17 00:00:00 2001 From: Charles Zablit Date: Wed, 23 Jul 2025 12:43:38 +0100 Subject: [PATCH 1/2] [windows][lldb] implement system logging on Windows

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

2025-07-23 Thread Chelsea Cassanova via lldb-commits
chelcassanova wrote: Hi @vvereschaka , > I have two questions in addition: I see the following warnings during the build [671/5326] Fixing includes in /home/buildbot/worker/temp/build-stage2/tools/lldb/tools/lldb-rpc/DerivedHeaders/SBLanguages.h Unable to find unifdef executable. Guards w

[Lldb-commits] [lldb] [lldb] Zero extend APInt when piece size is bigger than the bitwidth (PR #150149)

2025-07-23 Thread Jacob Lalonde via lldb-commits
@@ -1978,7 +1978,12 @@ llvm::Expected DWARFExpression::Evaluate( // grows to the nearest host integer type. llvm::APInt fail_value(1, 0, false); llvm::APInt ap_int = scalar.UInt128(fail_value); -assert(ap_int.getBitWidth() >= bit_

[Lldb-commits] [lldb] [lldb] Add WebAssembly Process Plugin (PR #150143)

2025-07-23 Thread Jonas Devlieghere via lldb-commits
JDevlieghere wrote: Tagging @xujuntwt95329, @mh4ck-Thales and @xwang98 who took part in the discussion in the previous PRs. https://github.com/llvm/llvm-project/pull/150143 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.o

[Lldb-commits] [lldb] [windows][lldb] implement system logging on Windows (PR #150213)

2025-07-23 Thread Jonas Devlieghere via lldb-commits
@@ -109,6 +109,10 @@ class Host { /// Emit the given message to the operating system log. static void SystemLog(lldb::Severity severity, llvm::StringRef message); + /// Emit the given message to the stdout or stderr depending on severity. + static void SystemLogFallback(

[Lldb-commits] [lldb] [lldb] Add WebAssembly Process Plugin (PR #150143)

2025-07-23 Thread Jonas Devlieghere via lldb-commits
JDevlieghere wrote: > How does this relate to / overlap with existing PRs #77949 and #78977? They > are unlikely to get merged by the authors, so I assume you'll make your own > equivalent. I had totally forgotten about those PRs . Yes, they're iterations of the same patch by @paolosevMSFT (w

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

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

[Lldb-commits] [lldb] d5c8303 - [LLDB] Add formatters for MSVC STL std::deque (#150097)

2025-07-23 Thread via lldb-commits
Author: nerix Date: 2025-07-23T16:19:47+01:00 New Revision: d5c8303af86f8f4f50320b831c027df4febcd5ea URL: https://github.com/llvm/llvm-project/commit/d5c8303af86f8f4f50320b831c027df4febcd5ea DIFF: https://github.com/llvm/llvm-project/commit/d5c8303af86f8f4f50320b831c027df4febcd5ea.diff LOG: [L

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

2025-07-23 Thread via lldb-commits
https://github.com/Nerixyz updated https://github.com/llvm/llvm-project/pull/150097 >From ee9043309a33595e312bd7ee9ad0b05e164e4fe7 Mon Sep 17 00:00:00 2001 From: Nerixyz Date: Tue, 22 Jul 2025 17:52:21 +0200 Subject: [PATCH] [LLDB] Add formatters for MSVC STL std::deque --- .../Plugins/Langua

[Lldb-commits] [lldb] [windows][lldb] implement system logging on Windows (PR #150213)

2025-07-23 Thread Michael Buch via lldb-commits
@@ -302,3 +304,64 @@ Environment Host::GetEnvironment() { } return env; } + +/// Manages the lifecycle of a Windows Event's Source. +/// The destructor will call DeregisterEventSource. +/// This class is meant to be used with \ref llvm::ManagedStatic. +class WindowsEventLog

[Lldb-commits] [lldb] [windows][lldb] implement system logging on Windows (PR #150213)

2025-07-23 Thread Michael Buch via lldb-commits
@@ -302,3 +304,64 @@ Environment Host::GetEnvironment() { } return env; } + +/// Manages the lifecycle of a Windows Event's Source. +/// The destructor will call DeregisterEventSource. +/// This class is meant to be used with \ref llvm::ManagedStatic. +class WindowsEventLog

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

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

[Lldb-commits] [lldb] [lldb] Zero extend APInt when piece size is bigger than the bitwidth (PR #150149)

2025-07-23 Thread Nikita Popov via lldb-commits
https://github.com/nikic edited https://github.com/llvm/llvm-project/pull/150149 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [LLDB][NativePDB] Allow type lookup in namespaces (PR #149876)

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

[Lldb-commits] [lldb] [LLDB][NativePDB] Allow type lookup in namespaces (PR #149876)

2025-07-23 Thread Michael Buch via lldb-commits
@@ -164,7 +166,9 @@ bool TypeQuery::ContextMatches( auto should_skip = [this](const CompilerContext &ctx) { if (ctx.kind == CompilerContextKind::Module) return GetIgnoreModules(); -if (ctx.kind == CompilerContextKind::Namespace && ctx.name.IsEmpty()) +if ((c

[Lldb-commits] [lldb] [LLDB][NativePDB] Allow type lookup in namespaces (PR #149876)

2025-07-23 Thread via lldb-commits
@@ -134,7 +134,9 @@ bool TypeQuery::ContextMatches( if (ctx == ctx_end) return false; // Pattern too long. -if (ctx->kind == CompilerContextKind::Namespace && ctx->name.IsEmpty()) { +if ((ctx->kind & CompilerContextKind::Namespace) == Nerixyz

[Lldb-commits] [lldb] [LLDB][NativePDB] Allow type lookup in namespaces (PR #149876)

2025-07-23 Thread via lldb-commits
@@ -164,7 +166,9 @@ bool TypeQuery::ContextMatches( auto should_skip = [this](const CompilerContext &ctx) { if (ctx.kind == CompilerContextKind::Module) return GetIgnoreModules(); -if (ctx.kind == CompilerContextKind::Namespace && ctx.name.IsEmpty()) +if ((c

[Lldb-commits] [lldb] [windows][lldb] implement system logging on Windows (PR #150213)

2025-07-23 Thread Charles Zablit via lldb-commits
charles-zablit wrote: This is what it looks like for Swift: https://github.com/user-attachments/assets/fffb34e4-b5e3-423c-9008-a5bcb10090c1"; /> https://github.com/llvm/llvm-project/pull/150213 ___ lldb-commits mailing list lldb-commits@lists.llvm.o

[Lldb-commits] [lldb] [windows][lldb] implement system logging on Windows (PR #150213)

2025-07-23 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Charles Zablit (charles-zablit) Changes This patch makes LLDB use the Event Viewer on Windows (equivalent of system logging on Darwin) rather than piping to the standard output (which was deactivated in ca0a5247004b6d692978d10bdbf86e338133

[Lldb-commits] [lldb] [windows][lldb] implement system logging on Windows (PR #150213)

2025-07-23 Thread Charles Zablit via lldb-commits
https://github.com/charles-zablit created https://github.com/llvm/llvm-project/pull/150213 This patch makes LLDB use the Event Viewer on Windows (equivalent of system logging on Darwin) rather than piping to the standard output (which was deactivated in ca0a5247004b6d692978d10bdbf86e338133e60c

[Lldb-commits] [lldb] [LLDB] Add formatters for MSVC STL map-like types (PR #148385)

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

[Lldb-commits] [lldb] cc380f6 - [LLDB] Add formatters for MSVC STL map-like types (#148385)

2025-07-23 Thread via lldb-commits
Author: nerix Date: 2025-07-23T12:37:04+01:00 New Revision: cc380f6e9ba48bfc7fad932d3031141ca88dde53 URL: https://github.com/llvm/llvm-project/commit/cc380f6e9ba48bfc7fad932d3031141ca88dde53 DIFF: https://github.com/llvm/llvm-project/commit/cc380f6e9ba48bfc7fad932d3031141ca88dde53.diff LOG: [L

[Lldb-commits] [lldb] [LLDB][NativePDB] Allow type lookup in namespaces (PR #149876)

2025-07-23 Thread Michael Buch via lldb-commits
@@ -134,7 +134,9 @@ bool TypeQuery::ContextMatches( if (ctx == ctx_end) return false; // Pattern too long. -if (ctx->kind == CompilerContextKind::Namespace && ctx->name.IsEmpty()) { +if ((ctx->kind & CompilerContextKind::Namespace) == Michael

[Lldb-commits] [lldb] [LLDB][NativePDB] Allow type lookup in namespaces (PR #149876)

2025-07-23 Thread Michael Buch via lldb-commits
@@ -164,7 +166,9 @@ bool TypeQuery::ContextMatches( auto should_skip = [this](const CompilerContext &ctx) { if (ctx.kind == CompilerContextKind::Module) return GetIgnoreModules(); -if (ctx.kind == CompilerContextKind::Namespace && ctx.name.IsEmpty()) +if ((c

[Lldb-commits] [lldb] [LLDB][NativePDB] Allow type lookup in namespaces (PR #149876)

2025-07-23 Thread via lldb-commits
@@ -164,7 +166,9 @@ bool TypeQuery::ContextMatches( auto should_skip = [this](const CompilerContext &ctx) { if (ctx.kind == CompilerContextKind::Module) return GetIgnoreModules(); -if (ctx.kind == CompilerContextKind::Namespace && ctx.name.IsEmpty()) +if ((c

[Lldb-commits] [lldb] [LLDB][NativePDB] Allow type lookup in namespaces (PR #149876)

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

[Lldb-commits] [lldb] [LLDB][NativePDB] Allow type lookup in namespaces (PR #149876)

2025-07-23 Thread Michael Buch via lldb-commits
@@ -164,7 +166,9 @@ bool TypeQuery::ContextMatches( auto should_skip = [this](const CompilerContext &ctx) { if (ctx.kind == CompilerContextKind::Module) return GetIgnoreModules(); -if (ctx.kind == CompilerContextKind::Namespace && ctx.name.IsEmpty()) +if ((c

[Lldb-commits] [lldb] [WIP][lldb] Slightly better support for _BitInt in LLDB (PR #150208)

2025-07-23 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] [WIP][lldb] Slightly better support for _BitInt in LLDB (PR #150208)

2025-07-23 Thread Sam Wedgwood via lldb-commits
https://github.com/swedgwood created https://github.com/llvm/llvm-project/pull/150208 Decided I would take a stab at https://github.com/llvm/llvm-project/issues/110273 (I'm the same person but different account) Still WIP (I'm very new to the codebase!) - but right now (as of 567cb48) LLDB

[Lldb-commits] [lldb] [LLDB][NativePDB] Allow type lookup in namespaces (PR #149876)

2025-07-23 Thread via lldb-commits
@@ -2291,6 +2298,8 @@ void SymbolFileNativePDB::BuildParentMap() { TypeIndex fwd = full_to_forward[full]; m_parent_types[fwd] = m_parent_types[full]; } + + m_type_base_names.Sort(); Nerixyz wrote: `m_type_base_names` is a [`UniqueCStringMap`](https

[Lldb-commits] [lldb] [LLDB][NativePDB] Allow type lookup in namespaces (PR #149876)

2025-07-23 Thread via lldb-commits
@@ -164,7 +166,9 @@ bool TypeQuery::ContextMatches( auto should_skip = [this](const CompilerContext &ctx) { if (ctx.kind == CompilerContextKind::Module) return GetIgnoreModules(); -if (ctx.kind == CompilerContextKind::Namespace && ctx.name.IsEmpty()) +if ((c

[Lldb-commits] [lldb] [LLDB][NativePDB] Allow type lookup in namespaces (PR #149876)

2025-07-23 Thread Michael Buch via lldb-commits
@@ -164,7 +166,9 @@ bool TypeQuery::ContextMatches( auto should_skip = [this](const CompilerContext &ctx) { if (ctx.kind == CompilerContextKind::Module) return GetIgnoreModules(); -if (ctx.kind == CompilerContextKind::Namespace && ctx.name.IsEmpty()) +if ((c

[Lldb-commits] [lldb] [LLDB] Add formatters for MSVC STL map-like types (PR #148385)

2025-07-23 Thread via lldb-commits
https://github.com/Nerixyz updated https://github.com/llvm/llvm-project/pull/148385 >From 4a4fba10e509facb73ff71c628656f27ad1bfd85 Mon Sep 17 00:00:00 2001 From: Nerixyz Date: Sat, 12 Jul 2025 18:44:51 +0200 Subject: [PATCH 1/2] [LLDB] Add formatters for MSVC STL map-like types --- .../Plugin

[Lldb-commits] [lldb] [LLDB][NativePDB] Allow type lookup in namespaces (PR #149876)

2025-07-23 Thread Michael Buch via lldb-commits
@@ -2291,6 +2298,8 @@ void SymbolFileNativePDB::BuildParentMap() { TypeIndex fwd = full_to_forward[full]; m_parent_types[fwd] = m_parent_types[full]; } + + m_type_base_names.Sort(); Michael137 wrote: Why do we need this sort? https://github.com/llv

[Lldb-commits] [lldb] [LLDB] Add formatters for MSVC STL map-like types (PR #148385)

2025-07-23 Thread Michael Buch via lldb-commits
@@ -1462,15 +1462,15 @@ static void LoadLibStdcppFormatters(lldb::TypeCategoryImplSP cpp_category_sp) { "libstdc++ std::__debug::vector summary provider", "^std::__debug::vector<.+>(( )?&)?$", stl_summary_flags, true); - AddCXXSummary( -

[Lldb-commits] [lldb] [LLDB] Add formatters for MSVC STL map-like types (PR #148385)

2025-07-23 Thread Michael Buch via lldb-commits
@@ -1480,12 +1480,12 @@ static void LoadLibStdcppFormatters(lldb::TypeCategoryImplSP cpp_category_sp) { AddCXXSummary( cpp_category_sp, lldb_private::formatters::ContainerSizeSummaryProvider, "libstdc++ std::multimap summary provider", - "^std::(__debug::)?m

[Lldb-commits] [lldb] [LLDB] Add formatters for MSVC STL map-like types (PR #148385)

2025-07-23 Thread Michael Buch via lldb-commits
@@ -1462,15 +1462,15 @@ static void LoadLibStdcppFormatters(lldb::TypeCategoryImplSP cpp_category_sp) { "libstdc++ std::__debug::vector summary provider", "^std::__debug::vector<.+>(( )?&)?$", stl_summary_flags, true); - AddCXXSummary( -

[Lldb-commits] [lldb] [LLDB] Add formatters for MSVC STL map-like types (PR #148385)

2025-07-23 Thread Michael Buch via lldb-commits
@@ -1480,12 +1480,12 @@ static void LoadLibStdcppFormatters(lldb::TypeCategoryImplSP cpp_category_sp) { AddCXXSummary( cpp_category_sp, lldb_private::formatters::ContainerSizeSummaryProvider, "libstdc++ std::multimap summary provider", Michael137

[Lldb-commits] [lldb] [LLDB] Add formatters for MSVC STL map-like types (PR #148385)

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

[Lldb-commits] [lldb] [lldb] Add WebAssembly Process Plugin (PR #150143)

2025-07-23 Thread David Spickett via lldb-commits
DavidSpickett wrote: How does this relate to / overlap with existing PRs https://github.com/llvm/llvm-project/pull/77949 and https://github.com/llvm/llvm-project/pull/78977? They are unlikely to get merged by the authors, so I assume you'll make your own equivalent. > qWasmCallStack This is

[Lldb-commits] [lldb] [lldb][SBType] GetBasicType to unwrap canonical type (PR #149112)

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

[Lldb-commits] [lldb] b7889a6 - [lldb][SBType] GetBasicType to unwrap canonical type (#149112)

2025-07-23 Thread via lldb-commits
Author: Michael Buch Date: 2025-07-23T08:52:49+01:00 New Revision: b7889a65a8e54f2d9c7f578a515a7bf970044bfe URL: https://github.com/llvm/llvm-project/commit/b7889a65a8e54f2d9c7f578a515a7bf970044bfe DIFF: https://github.com/llvm/llvm-project/commit/b7889a65a8e54f2d9c7f578a515a7bf970044bfe.diff