[Lldb-commits] [lldb] [lldb] Fix Symbol static_assert for 32 bit Windows (PR #201130)
via lldb-commits
lldb-commits at lists.llvm.org
Tue Jun 2 07:28:56 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/201130.diff
1 Files Affected:
- (modified) lldb/include/lldb/Symbol/Symbol.h (+1-1)
``````````diff
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");
``````````
</details>
https://github.com/llvm/llvm-project/pull/201130
More information about the lldb-commits
mailing list