| Issue |
124612
|
| Summary |
C++20 coroutine with stateful allocator results in ASAN stack-use-after-scope starting with clang 19
|
| Labels |
clang
|
| Assignees |
|
| Reporter |
bartdesmet
|
When trying to upgrade to clang 19, we ran into an issue where an ASAN violation is reported in code using a stateful allocator on a promise type. I've tried to reduce the repro in https://godbolt.org/z/soPP6x9rx which shows 18 and 19 side-by-side. It looks like the `stack-use-after-scope` occurs during the construction of the coroutine frame.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs