[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 03:19:09 PDT 2023
hokein added a comment.
I gave it a try, here is a testcase that triggers the crash
// clang -cc1 -emit-pch -o /tmp/t.pch /tmp/t.cpp
#ifndef HEADER
#define HEADER
struct A { int *p; };
const A &w = A{ new int(10) };
#endif
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