This is an archive of the discontinued LLVM Phabricator instance.

WholeProgramDevirt: Fix call target propagation for ptrauth architectures
ClosedPublic

Authored by aschwaighofer on Feb 22 2023, 11:16 AM.

Details

Summary

We can't have a call with a constant target with a ptrauth bundle. Remove the
ptrauth bundle operand in such a case

rdar://105696396

Diff Detail

Event Timeline

aschwaighofer created this revision.Feb 22 2023, 11:16 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 22 2023, 11:16 AM
aschwaighofer requested review of this revision.Feb 22 2023, 11:16 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 22 2023, 11:16 AM

Run clang-format.

AFAICT, this looks reasonable. If we devirtualize, we need to drop the ptrauth bundle. @ab ?

This revision was not accepted when it landed; it landed in state Needs Review.Jun 29 2023, 8:04 AM
This revision was automatically updated to reflect the committed changes.