[clang] [lldb] [clang][lldb] Don't assert structure layout correctness for layouts provided by LLDB (PR #93809)
David Blaikie via cfe-commits
cfe-commits at lists.llvm.org
Thu May 30 09:34:43 PDT 2024
dwblaikie wrote:
Could probably adjust the assertions to be `assert (debug || whatever)` rather than `if (!debug) assert(whatever)`.
My understanding/expectation was that these assertions would be removed entirely - that whatever generated the AST should just be trusted, whether it's the debugger or the compiler frontend... but I'll certainly leave it up to @AaronBallman as to where he thinks the right tradeoff/sweetspot is.
https://github.com/llvm/llvm-project/pull/93809
More information about the cfe-commits
mailing list