[PATCH] D102817: [Windows SEH]: HARDWARE EXCEPTION HANDLING (MSVC -EHa) - Part 2

Victor Kolesnikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 25 05:38:43 PST 2023


victork1996 added a comment.

Hi :)
I compiled clang's main branch and applied these changes, and I think i found a bug. 
I tried to compile the following code with the "-fasync-exceptions" flag and the compiler crashed :(
can you take a look?

  void foo()
  {
      try
      {}
      catch (...)
      {
          // The 'return' statement causes a crash, it compiles just fine without the 'return'.
          return;
      }
  }

thanks :)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D102817



More information about the llvm-commits mailing list