This is an archive of the discontinued LLVM Phabricator instance.

[compiler-rt][test] fix zero_page_pc on arm64e
ClosedPublic

Authored by aralisza on Jun 23 2021, 6:13 PM.

Details

Summary

on arm64e, pointer auth would catch this access violation before asan.
sign the function pointer so pointer auth will ignore this violation and let asan catch it in this test case.

rdar://79652167

Diff Detail

Event Timeline

aralisza created this revision.Jun 23 2021, 6:13 PM
aralisza requested review of this revision.Jun 23 2021, 6:13 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 23 2021, 6:13 PM
Herald added a subscriber: Restricted Project. · View Herald Transcript
aralisza edited the summary of this revision. (Show Details)Jun 23 2021, 6:13 PM
aralisza added reviewers: yln, kubamracek, delcypher.
aralisza updated this revision to Diff 354125.Jun 23 2021, 6:14 PM

remove unecessary comments

aralisza updated this revision to Diff 354126.Jun 23 2021, 6:15 PM

remove comments

This revision is now accepted and ready to land.Jun 24 2021, 1:20 PM
This revision was automatically updated to reflect the committed changes.