[Lldb-commits] [lldb] [lldb][NativePDB] Complete enums when they are created (PR #233461)
via lldb-commits
lldb-commits at lists.llvm.org
Mon Oct 19 08:55:44 PDT 2026
Nerixyz wrote:
> `Sema` reads an enum's promotion type directly during integral promotion, and that is only set once the definition is complete. This means that expressions with an enum not yet completed hit an assert in `clang` (`Sema::IsIntegralPromotion`, or CodeGen's `"Emitted constant has unexpected size"`).
Isn't this more of an issue on the Clang/TypeSystemClang side? If it allows us to create uncompleted enums, it should make sure they're completed when they need to be.
https://github.com/llvm/llvm-project/pull/233461
More information about the lldb-commits
mailing list