[BOLT] Add option to ignore function hash in profile
Summary: When we make changes to MCInst opcodes (or get changes from upstream), a hash value for BinaryFunction changes. As a result, we are unable to match profile generated by a previous version of BOLT. Add option `-profile-ignore-hash` to match profile while ignoring function hash value. With this option we match functions with common names using the number of basic blocks. (cherry picked from FBD7983269)
Loading
Please sign in to comment