Displaying 2 results from an estimated 2 matches for "gw9uzq".
2018 Mar 19
2
Suggestions for how coroutines and UBSan codegen can play nice with one another?
...!)
I am trying to fix an assert that occurs when the transforms in
llvm/lib/Transforms/Coroutines are applied to LLVM IR that has been
generated with UBSan enabled -- specifically, '-fsanitize=null'.
You can see an example of the assert in this 26-line C++ file here:
https://godbolt.org/g/Gw9UZq
Note that without the '-fsanitize=null' option this compiles fine, but when
that option is used, Clang/LLVM crashes due to "error in backend: cannot
move instruction since its users are not dominated by CoroBegin".
The coroutine pass coro-split is responsible for transforming in...
2018 Mar 19
0
Suggestions for how coroutines and UBSan codegen can play nice with one another?
...rying to fix an assert that occurs when the transforms in llvm/lib/Transforms/Coroutines are applied to LLVM IR that has been generated with UBSan enabled -- specifically, '-fsanitize=null'.
>
> You can see an example of the assert in this 26-line C++ file here: https://godbolt.org/g/Gw9UZq <https://godbolt.org/g/Gw9UZq>
>
> Note that without the '-fsanitize=null' option this compiles fine, but when that option is used, Clang/LLVM crashes due to "error in backend: cannot move instruction since its users are not dominated by CoroBegin".
>
> The cor...