Created attachment 19029
Output bitcode file.
Source: https://pastebin.com/KfLwD2wn
Compilation command: clang++ -O0 -g -fcoroutines-ts '-std=gnu++1z' -c -
stdlib=libc++ -emit-llvm -S -o coroutine.ll coroutine.cpp
Output: Attached.
If you see line 2904 of attached output file (coroutine.ll), it calls delete
with %vFrame. However, in line 2909, it loads from the member of %FramePtr,
which is an alias to %vFrame. This is a use after delete.
coroutine.ll
(694345 bytes, text/plain)