Commit a6c14fba authored by Petr Hosek's avatar Petr Hosek Committed by Tom Stellard
Browse files

[profile] Fix profile merging with binary IDs

This fixes support for merging profiles which broke as a consequence
of e50a3884. The issue was missing
adjustment in merge logic to account for the binary IDs which are
now included in the raw profile just after header.

In addition, this change also:
* Includes the version in module signature that's used for merging
to avoid accidental attempts to merge incompatible profiles.
* Moves the binary IDs size field after version field in the header
as was suggested in the review.

Differential Revision: https://reviews.llvm.org/D107143

(cherry picked from commit 83302c84)
parent 8dcdfc0d
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment