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

via lldb-commits lldb-commits at lists.llvm.org
Sat Jun 6 06:47:03 PDT 2026


llvmorg-github-actions[bot] wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lldb

Author: Dave Lee (kastiglione)

<details>
<summary>Changes</summary>



---
Full diff: https://github.com/llvm/llvm-project/pull/202042.diff


1 Files Affected:

- (modified) lldb/include/lldb/Symbol/Symbol.h (-4) 


``````````diff
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 {

``````````

</details>


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


More information about the lldb-commits mailing list