[PATCH] D142401: [Clang] Fix a crash when recursively callig a default member initializer.

Corentin Jabot via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 26 04:28:06 PST 2023


cor3ntin added a comment.

In D142401#4074959 <https://reviews.llvm.org/D142401#4074959>, @shafik wrote:

> I could not find any tests that test for this warning.

I'm unable to trigger the warning at all. I feel i should but just using that function resolves the crash, probably because it allocates more stack in a separate thread, and there is actually some code that avoids marking the same object used twice.
But the warning might still trigger on some platform, so i suspect the test i added might, sometimes, trigger a warning. I'm not exactly sure how to handle that


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D142401



More information about the cfe-commits mailing list