aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorPetr Hosek <phosek@google.com>2021-07-30 02:40:27 -0700
committerPetr Hosek <phosek@google.com>2021-07-30 13:30:30 -0700
commit89d6eb6f8c5d94093f30a5f37b193a2422491642 (patch)
treeca4bb9ae68a786ff40e15385209aa9ec92ee006f /flang/lib/Frontend/CompilerInvocation.cpp
parent6e712fdf528c972909ad60c548888c069b280d04 (diff)
downloadllvm-89d6eb6f8c5d94093f30a5f37b193a2422491642.zip
llvm-89d6eb6f8c5d94093f30a5f37b193a2422491642.tar.gz
llvm-89d6eb6f8c5d94093f30a5f37b193a2422491642.tar.bz2
[profile] Fix profile merging with binary IDs
This fixes support for merging profiles which broke as a consequence of e50a38840dc3db5813f74b1cd2e10e6d984d0e67. 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
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions