This is an archive of the discontinued LLVM Phabricator instance.

[BOLT] Handle jump tables that point to skipped functions
Needs ReviewPublic

Authored by nhuhuan on Jul 27 2022, 4:30 PM.

Details

Summary

Functions can be optionally skipped by users, or marked as ignored
during branch target analysis. Since the target function is not
processed, functions that access jump tables which point to these
target functions also need to be marked as ignored.

Test Plan:

ninja check-bolt

Diff Detail

Event Timeline

nhuhuan created this revision.Jul 27 2022, 4:30 PM
Herald added a reviewer: Amir. · View Herald Transcript
Herald added a reviewer: maksfb. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
Herald added a subscriber: ayermolo. · View Herald Transcript
nhuhuan requested review of this revision.Jul 27 2022, 4:30 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 27 2022, 4:30 PM