[all-commits] [llvm/llvm-project] 1df728: [compiler-rt/profile] Include __llvm_profile_get_m...
pirama-arumuga-nainar via All-commits
all-commits at lists.llvm.org
Tue Nov 23 10:10:45 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1df7289af66c630480a676e2a5347dca5a3ede15
https://github.com/llvm/llvm-project/commit/1df7289af66c630480a676e2a5347dca5a3ede15
Author: Pirama Arumuga Nainar <pirama at google.com>
Date: 2021-11-23 (Tue, 23 Nov 2021)
Changed paths:
M compiler-rt/lib/profile/InstrProfilingMerge.c
Log Message:
-----------
[compiler-rt/profile] Include __llvm_profile_get_magic in module signature
The INSTR_PROF_RAW_MAGIC_* number in profraw files should match during
profile merging. This causes an error with 32-bit and 64-bit variants
of the same code. The module signatures for the two binaries are
identical but they use different INSTR_PROF_RAW_MAGIC_* causing a
failure when profile-merging is used. Including it when computing the
module signature yields different signatures for the 32-bit and 64-bit
profiles.
Differential Revision: https://reviews.llvm.org/D114054
More information about the All-commits
mailing list