[Lldb-commits] [lldb] [lldb] Change Symbol size assert to 64 bit only (PR #202042)

Dave Lee via lldb-commits lldb-commits at lists.llvm.org
Sat Jun 6 06:46:29 PDT 2026


https://github.com/kastiglione created https://github.com/llvm/llvm-project/pull/202042

None

>From 9b65c4c37b2782f28f1563d426650303bd4707a9 Mon Sep 17 00:00:00 2001
From: Dave Lee <davelee.com at gmail.com>
Date: Sat, 6 Jun 2026 06:41:56 -0700
Subject: [PATCH] [lldb] Change Symbol size assert to 64 bit only

---
 lldb/include/lldb/Symbol/Symbol.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/lldb/include/lldb/Symbol/Symbol.h b/lldb/include/lldb/Symbol/Symbol.h
index 7d781e8fb4d5c..47323b8ba5e56 100644
--- a/lldb/include/lldb/Symbol/Symbol.h
+++ b/lldb/include/lldb/Symbol/Symbol.h
@@ -364,10 +364,6 @@ 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 && !defined(_WIN32)
-static_assert(
-    sizeof(lldb_private::Symbol) == 52,
-    "Symbol is a high volume data type, size must be increased with care");
 #endif
 
 namespace llvm {



More information about the lldb-commits mailing list