[all-commits] [llvm/llvm-project] 6bc9c8: [compiler-rt][profile] Add padding after binary IDs
PiJoules via All-commits
all-commits at lists.llvm.org
Thu Sep 23 10:30:41 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6bc9c8dfe32cc4662f2ed9041af527f69dfff13b
https://github.com/llvm/llvm-project/commit/6bc9c8dfe32cc4662f2ed9041af527f69dfff13b
Author: Leonard Chan <leonardchan at google.com>
Date: 2021-09-23 (Thu, 23 Sep 2021)
Changed paths:
M compiler-rt/lib/profile/InstrProfilingPlatformLinux.c
Log Message:
-----------
[compiler-rt][profile] Add padding after binary IDs
Some tests with binary IDs would fail with error: no profile can be merged.
This is because raw profiles could have unaligned headers when emitting binary
IDs. This means padding should be emitted after binary IDs are emitted to
ensure everything else is aligned. This patch accounts for that padding in
__llvm_write_binary_ids.
Differential Revision: https://reviews.llvm.org/D110188
More information about the All-commits
mailing list