[PATCH] D54344: [Clang][CodeGen][CXX]: Workaround __attribute((no_destroy)) crash/incorrect code generation.
Kristina Brooks via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 9 13:25:58 PST 2018
kristina added a comment.
In https://reviews.llvm.org/D54344#1293468, @erik.pilkington wrote:
> Have you tried running creduce on the preprocessed source? We should really have a real reproducer for this, otherwise its really hard to tell what the underlying problem is.
Unable to build it with current Clang/LLVM headers, attribute is a very recent addition as well as general changes. I just get a flurry of errors like this:
/src/clwn/creduce/clang_delta/InstantiateTemplateTypeParamToInt.cpp:187:19: error: no member named 'getLocStart' in 'clang::TemplateTypeParmTypeLoc'
void *Ptr = Loc.getLocStart().getPtrEncoding();
More information about the cfe-commits