[clang] [clang-repl] Set up executor implicitly to account for init PTUs (PR #84758)

Vassil Vassilev via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 11 13:35:04 PDT 2024


Stefan =?utf-8?q?Gränitz?= <stefan.graenitz at gmail.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/84758 at github.com>


================
@@ -14,7 +14,7 @@ struct A { int a; A(int a) : a(a) {} virtual ~A(); };
 // PartialTranslationUnit.
 inline A::~A() { printf("~A(%d)\n", a); }
 
-// Create one instance with new and delete it.
+// Create one instance with new and delete it. We crash here now:
 A *a1 = new A(1);
----------------
vgvassilev wrote:

Yes, probably is something worth fixing now. I could not see the stack trace on osx. Can you paste it here?

https://github.com/llvm/llvm-project/pull/84758


More information about the cfe-commits mailing list