Issue 117420
Summary basic SEH test fails
Labels new issue
Assignees
Reporter jaykrell
    ```
C:\s>clang --version
swift.org clang version 16.0.0
Target: x86_64-unknown-windows-msvc
Thread model: posix
InstalledDir: C:\Library\Developer\Toolchains\unknown-Asserts-development.xctoolchain\usr\bin

C:\s>type 1.c
int main()
{
 __try { *(volatile char*) 0; } __except(1) { return 2; }
}

C:\s>clang-cl 1.c

C:\s>1.exe

C:\s>echo %errorlevel%
-1073741819
```

That is 0xc0000005 access violation.
This program returns 2 with Visual C++.

Hm not sure about this toolchain, I'll try another later.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to