[llvm-bugs] [Bug 50161] New: Stack protector + coroutines + c++ exceptions causing `musttail call must precede a ret with an optional bitcast`

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Apr 28 23:19:12 PDT 2021


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

            Bug ID: 50161
           Summary: Stack protector + coroutines + c++ exceptions causing
                    `musttail call must precede a ret with an optional
                    bitcast`
           Product: libraries
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Common Code Generator Code
          Assignee: unassignedbugs at nondot.org
          Reporter: nathan at lanza.io
                CC: llvm-bugs at lists.llvm.org

As the title said, we (Facebook) were hitting an assert with coroutines, stack
protector and c++ exceptions generating a musttail call that didn't immediately
precede a ret. I fixed it by cherrypicking the below:

5e3d9fcc3a8802cea5b850a3ca40c515d916bf82

I could run creduce and generate a simple example if need be, but the diff's
contents and it's description are pretty clear and the pick is clean.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210429/2d86a4e1/attachment.html>


More information about the llvm-bugs mailing list