This is an archive of the discontinued LLVM Phabricator instance.

[compiler-rt] XFAIL test on iOS
ClosedPublic

Authored by yln on Aug 10 2020, 11:53 AM.

Details

Summary

On iOS, when we longjmp() out of the signal handler, a subsequent call
to sigaltstack() still reports that we are executing on the signal
handler stack.
Tracking rdar://66789814

Diff Detail

Event Timeline

yln created this revision.Aug 10 2020, 11:53 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 10 2020, 11:53 AM
Herald added subscribers: Restricted Project, dberris. · View Herald Transcript
yln requested review of this revision.Aug 10 2020, 11:53 AM
robot accepted this revision.Aug 11 2020, 6:34 AM

Interesting. So iOS' C library doesn't support jumping out of signal handlers? From what I understand, that'd be a bug in iOS' C library.

LGTM but I should not have any power here (?)

This revision is now accepted and ready to land.Aug 11 2020, 6:34 AM
yln added a comment.Aug 11 2020, 11:58 AM

Interesting. So iOS' C library doesn't support jumping out of signal handlers? From what I understand, that'd be a bug in iOS' C library.

Yes, I reported it as a bug, but it might be a while before it is fixed.

Just making sure you are good with my changes to the test. Thanks for the quick review! :)

This revision was automatically updated to reflect the committed changes.