This is an archive of the discontinued LLVM Phabricator instance.

[libc] Accommodate Fuchsia's death test framework in fenv tests.
ClosedPublic

Authored by sivachandra on Jul 23 2021, 9:59 AM.

Details

Summary

Fuchsia's death test framework runs the closure which can die in a
different thread. Hence, the FP exceptions which cause the closure to
die should be enalbed in the closure.

Diff Detail

Event Timeline

sivachandra created this revision.Jul 23 2021, 9:59 AM
sivachandra requested review of this revision.Jul 23 2021, 9:59 AM
michaelrj accepted this revision.Jul 23 2021, 1:48 PM

LGTM with nit

libc/test/src/fenv/feholdexcept_test.cpp
37

You need an "it" between "closure" and "sets".

This revision is now accepted and ready to land.Jul 23 2021, 1:48 PM