aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorLeonard Chan <leonardchan@google.com>2021-09-28 11:49:37 -0700
committerLeonard Chan <leonardchan@google.com>2021-09-28 11:50:50 -0700
commitb9f547e8e51182d32f1912f97a3e53f4899ea6be (patch)
tree899219c8f771bae91ba945eefd444747a4e18fef /clang/lib/CodeGen/CodeGenFunction.cpp
parent9b944c184396ce55a3ad608779cc326ba12c9ee3 (diff)
downloadllvm-b9f547e8e51182d32f1912f97a3e53f4899ea6be.zip
llvm-b9f547e8e51182d32f1912f97a3e53f4899ea6be.tar.gz
llvm-b9f547e8e51182d32f1912f97a3e53f4899ea6be.tar.bz2
[llvm][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 adds padding after each binary ID to ensure the next binary ID size is 8-byte aligned. This also adds extra checks to ensure we aren't reading corrupted data when printing binary IDs. Differential Revision: https://reviews.llvm.org/D110365
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions