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

            Bug ID: 50499
           Summary: Coroutine use after free on Clang 12.
           Product: clang
           Version: 12.0
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++2a
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]

Starting with Clang 12, the address sanitizers fail because of a use-after-free
any time `get_return_object` returns something that is not the parent object
and the parent object is not empty. Here's a reproducer:
https://godbolt.org/z/6Gfv3xG9o

Refs https://reviews.llvm.org/D103196 where this came up.

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

Reply via email to