https://bugs.llvm.org/show_bug.cgi?id=43977

            Bug ID: 43977
           Summary: Access Violation Error when throwing exception with
                    clang-cl, gtest and exception
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedb...@nondot.org
          Reporter: feil...@corona-renderer.com
                CC: htmldevelo...@gmail.com, llvm-bugs@lists.llvm.org

Created attachment 22799
  --> https://bugs.llvm.org/attachment.cgi?id=22799&action=edit
Test case

We've hit a very specific bug while running our unit tests compiled with
clang-10. I have been able to isolate the bug in a self contained project
shared as attachments. You can find a rudimentary build script and some
instructions to build an executable that can reproduce the access violation
error.

The test has been reduced as much as possible as far as I could test everything
is needed to reproduce the conditions to create the Access Violation Error.

It seems that the following features use in combination are creating the
situation where clang (or LLVM) generates the wrong code:

- goto
- SSE intrisics
- Forced inlining

I tested again clang-cl build on my machine from git revision
1c616a9266bd829ea8915617ff83244df45a31c8 in repo
https://github.com/llvm/llvm-project.git

Let me know if you need more information.
B. Feildel

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to