[PATCH] D132874: [clang] Don't emit debug vtable information for consteval functions
Shafik Yaghmour via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 29 13:51:11 PDT 2022
shafik added subscribers: aprantl, shafik.
shafik added a comment.
Maybe @aprantl you want to take a look at this.
================
Comment at: clang/lib/CodeGen/CGDebugInfo.cpp:1761
- if (Method->isVirtual()) {
+ if (Method->isVirtual() && !Method->isConsteval()) {
if (Method->isPure())
----------------
It is not clear to me if this is the core issue or not. Can you explain this a little better.
================
Comment at: clang/test/CodeGenCXX/cxx20-consteval-crash.cpp:94
+} // namespace Issue55065
\ No newline at end of file
----------------
Please add the newline back.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D132874/new/
https://reviews.llvm.org/D132874
More information about the cfe-commits
mailing list