@@ -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
@@ -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
@@ -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;
+ }
@@ -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;
+ }
@@ -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;
+ }
@@ -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;
+ }
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
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
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
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
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
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
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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
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
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
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).
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
@@ -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(
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
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
@@ -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_
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
@@ -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(
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
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
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
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
@@ -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
@@ -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
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
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
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
@@ -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
@@ -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
@@ -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
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
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
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
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
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
@@ -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
@@ -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
@@ -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
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
@@ -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
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
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
@@ -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
@@ -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
@@ -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
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
@@ -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
@@ -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(
-
@@ -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
@@ -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(
-
@@ -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
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
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
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
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
67 matches
Mail list logo