This is an archive of the discontinued LLVM Phabricator instance.

[Core] Allow `hasAddressTaken` to ignore "casted direct calls"
ClosedPublic

Authored by jdoerfert on Aug 29 2023, 4:59 PM.

Details

Summary

A direct call to a function casted to a different type is still not
really an address taken event. We allow the user to opt out of these
now.

Diff Detail

Event Timeline

jdoerfert created this revision.Aug 29 2023, 4:59 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 29 2023, 4:59 PM
jdoerfert requested review of this revision.Aug 29 2023, 4:59 PM
Herald added a project: Restricted Project. · View Herald Transcript
arsenm accepted this revision.Aug 30 2023, 8:11 AM
arsenm added inline comments.
llvm/test/Transforms/Attributor/callgraph.ll
462–463

maybe comment this function

This revision is now accepted and ready to land.Aug 30 2023, 8:11 AM
This revision was landed with ongoing or failed builds.Aug 31 2023, 7:33 PM
This revision was automatically updated to reflect the committed changes.