Displaying 2 results from an estimated 2 matches for "54a036c3bf9c06882fe85122e105d153".
2018 Mar 19
2
Suggestions for how coroutines and UBSan codegen can play nice with one another?
...onal branch to a
call to '@ __ubsan_handle_type_mismatch_v1'. The coro-split pass is not
written to move these compare and branch instructions, and instead asserts.
You can see an example of the IR generated with and without
'-fsanitize=null' here:
https://gist.github.com/modocache/54a036c3bf9c06882fe85122e105d153
-- PR36578.ll lines 82 to 104 show the problematic UBSan branches. Note
that PR36578.nosan.ll, which was compiled without '-fsanitize=null', does
not include these branches.
I have several questions:
* What's the best way for the LLVM coroutines transform passes to play
nicely with th...
2018 Mar 19
0
Suggestions for how coroutines and UBSan codegen can play nice with one another?
...it pass is not written to move these compare and branch instructions, and instead asserts.
It looks like there was a FIXME about this issue introduced circa r280678.
> You can see an example of the IR generated with and without '-fsanitize=null' here: https://gist.github.com/modocache/54a036c3bf9c06882fe85122e105d153 <https://gist.github.com/modocache/54a036c3bf9c06882fe85122e105d153> -- PR36578.ll lines 82 to 104 show the problematic UBSan branches. Note that PR36578.nosan.ll, which was compiled without '-fsanitize=null', does not include these branches.
>
> I have several questions:
>...