This is an archive of the discontinued LLVM Phabricator instance.

[BOLT] Don't choke on injected functions' IO map
ClosedPublic

Authored by rafauler on Aug 23 2023, 5:09 PM.

Details

Summary

AddressMap would fail lookup for injected functions and crash
BOLT. Fix that.

Diff Detail

Event Timeline

rafauler created this revision.Aug 23 2023, 5:09 PM
Herald added a reviewer: maksfb. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
rafauler requested review of this revision.Aug 23 2023, 5:09 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 23 2023, 5:09 PM
This revision is now accepted and ready to land.Aug 24 2023, 12:44 AM
maksfb accepted this revision.Aug 24 2023, 9:35 AM
maksfb added inline comments.
bolt/test/X86/patch-entries.c
10–12

nit

This revision was automatically updated to reflect the committed changes.