This is an archive of the discontinued LLVM Phabricator instance.

Verifier: Check ifunc resolver functions return a pointer
ClosedPublic

Authored by arsenm on Nov 23 2022, 3:30 PM.

Details

Summary

Clang and gcc both reject trying to use ifunc with a function which
doesn't return a pointer type. Some opaque pointer tests were using
this, apparently by accident.

Diff Detail

Event Timeline

arsenm created this revision.Nov 23 2022, 3:30 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 23 2022, 3:30 PM
arsenm requested review of this revision.Nov 23 2022, 3:30 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 23 2022, 3:30 PM
Herald added a subscriber: wdng. · View Herald Transcript
MaskRay accepted this revision.Nov 24 2022, 8:52 PM
This revision is now accepted and ready to land.Nov 24 2022, 8:52 PM