[Lldb-commits] [lldb] [lldb] Fix Symbol static_assert for 32 bit Windows (PR #201130)
Dave Lee via lldb-commits
lldb-commits at lists.llvm.org
Tue Jun 2 07:28:08 PDT 2026
https://github.com/kastiglione created https://github.com/llvm/llvm-project/pull/201130
None
>From 74528b2b380cc04ef0feaf43755b2fd94ed83c36 Mon Sep 17 00:00:00 2001
From: Dave Lee <davelee.com at gmail.com>
Date: Tue, 2 Jun 2026 07:27:30 -0700
Subject: [PATCH] [lldb] Fix Symbol static_assert for 32 bit Windows
---
lldb/include/lldb/Symbol/Symbol.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lldb/include/lldb/Symbol/Symbol.h b/lldb/include/lldb/Symbol/Symbol.h
index 2f232346a2825..7d781e8fb4d5c 100644
--- a/lldb/include/lldb/Symbol/Symbol.h
+++ b/lldb/include/lldb/Symbol/Symbol.h
@@ -364,7 +364,7 @@ class Symbol : public SymbolContextScope {
static_assert(
sizeof(lldb_private::Symbol) == 80,
"Symbol is a high volume data type, size must be increased with care");
-#elif __SIZEOF_POINTER__ == 4
+#elif __SIZEOF_POINTER__ == 4 && !defined(_WIN32)
static_assert(
sizeof(lldb_private::Symbol) == 52,
"Symbol is a high volume data type, size must be increased with care");
More information about the lldb-commits
mailing list