ubsan was correctly catching the undefined behaviour but lit's shell was
failing the test anyway because the exit code was non-zero as a result of the
undefined behaviour.
This fixes the test on a mips-linux-gnu target.
Differential D9155
[ubsan] Stop cast-overflow.cpp test leaking undefined behaviour into the exit code. dsanders on Apr 21 2015, 7:51 AM. Authored by
Details ubsan was correctly catching the undefined behaviour but lit's shell was This fixes the test on a mips-linux-gnu target.
Diff Detail |