[PATCH] D137787: [CodeGen] Relax assertion on generating destructor call

Jonas Hahnfeld via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 14 02:39:01 PST 2022


Hahnfeld added a comment.

> Sorry, I don't understand well. Could you rewrite the reproducer in the style I wrote? And in what cases it works fine?

Okay, let me try to restate: I can reproduce the problem in ROOT/Cling which is an *interpreter* built on top of LLVM and CLang. The moment I put the same code (basically in the style that you wrote it) into standalone Clang, all is fine and I cannot reproduce the crash. Sorry if that was confusing in the beginning, but I've tried to make this clear from the start that I cannot actually reproduce this in pure Clang.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D137787/new/

https://reviews.llvm.org/D137787



More information about the cfe-commits mailing list