This is an archive of the discontinued LLVM Phabricator instance.

[BOLT] Fix instruction encoding validation
ClosedPublic

Authored by maksfb on Oct 17 2022, 4:49 PM.

Details

Summary

Always use non-symbolizing disassembler for instruction encoding
validation as symbols will be treated as undefined/zeros be the encoder
and causing byte sequence mismatches.

Diff Detail

Event Timeline

maksfb created this revision.Oct 17 2022, 4:49 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 17 2022, 4:49 PM
Herald added a subscriber: treapster. · View Herald Transcript
maksfb requested review of this revision.Oct 17 2022, 4:49 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 17 2022, 4:49 PM
Amir accepted this revision.Oct 17 2022, 5:58 PM
This revision is now accepted and ready to land.Oct 17 2022, 5:58 PM
This revision was automatically updated to reflect the committed changes.