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

via lldb-commits lldb-commits at lists.llvm.org
Sat Jun 6 09:11:05 PDT 2026


Author: Dave Lee
Date: 2026-06-06T09:11:00-07:00
New Revision: e6fab598acd8a0026ddc28eab78885d6f23e08f4

URL: https://github.com/llvm/llvm-project/commit/e6fab598acd8a0026ddc28eab78885d6f23e08f4
DIFF: https://github.com/llvm/llvm-project/commit/e6fab598acd8a0026ddc28eab78885d6f23e08f4.diff

LOG: [lldb] Change Symbol size assert to 64 bit only (#202042)

Follow up to
https://github.com/llvm/llvm-project/pull/200919#issuecomment-4635479078

Added: 
    

Modified: 
    lldb/include/lldb/Symbol/Symbol.h

Removed: 
    


################################################################################
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