In profile matching, if .__uniq suffix added for internal linkage
symbols with -funique-internal-linkage-names prevents BOLT from
matching to a binary function, try to strip the suffix and perform
fuzzy name matching.
Follow-up to D124117.
Paths
| Differential D142073
[BOLT] Handle __uniq suffix added by -funique-internal-linkage-names ClosedPublic Authored by Amir on Jan 18 2023, 6:29 PM.
Details
Summary In profile matching, if .__uniq suffix added for internal linkage Follow-up to D124117.
Diff Detail
Event TimelineAmir added a child revision: D142261: [BOLT][NFC] Move hasVolatileName into BinaryFunction.Jan 20 2023, 3:36 PM Herald added subscribers: ormris, steven_wu, hiraditya. · View Herald TranscriptJan 20 2023, 4:00 PM This revision is now accepted and ready to land.Jan 20 2023, 4:03 PM Amir retitled this revision from [BOLT] Handle __uniq prefix added by -funique-internal-linkage-names to [BOLT] Handle __uniq suffix added by -funique-internal-linkage-names.Jan 20 2023, 7:22 PM Closed by commit rGe5e07b01d8cf: [BOLT] Handle __uniq suffix added by -funique-internal-linkage-names (authored by Amir). · Explain WhyJan 20 2023, 7:23 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 491000 bolt/lib/Profile/DataReader.cpp
bolt/test/X86/lto-name-match.s
|