[PATCH] D154471: [clang] Add serialization support for the DynamicAllocLValue variant of APValue::LValueBase::Ptr
Haojian Wu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 11 02:29:06 PDT 2023
hokein added a comment.
I believe the fix is correct.
Though the fix has been verified by a real-world example, I think it would be nice to get a reproducible testcase. Looking at the stacktrace:
- the crash occurs during the pch deserialization
- and we miss handling the case where LValue base is a `DynamicAllocLValue`
so it looks like we can construct a `DynamicAllocLValue` case, and try to deserialize it (e.g. emitting a pch), and it should reproduce the crash.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D154471/new/
https://reviews.llvm.org/D154471
More information about the cfe-commits
mailing list