Skip to content
Commit 83302c84 authored by Petr Hosek's avatar Petr Hosek
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
parent d3dd07e3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment