[llvm-branch-commits] [clang] [mlir] [libc] [lldb] [clang-tools-extra] [llvm] [libcxx] [BOLT] Delta-encode offsets in BAT (PR #76900)
Rafael Auler via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Jan 11 13:55:56 PST 2024
================
@@ -114,9 +114,12 @@ void BoltAddressTranslation::write(const BinaryContext &BC, raw_ostream &OS) {
<< Twine::utohexstr(Address) << ".\n");
encodeULEB128(Address, OS);
encodeULEB128(NumEntries, OS);
+ uint64_t InOffset = 0, OutOffset = 0;
----------------
rafaelauler wrote:
It's not an offset, right? Maybe a better name would be PrevIn, PrevOut? (as in "Previous Input Address")
https://github.com/llvm/llvm-project/pull/76900
More information about the llvm-branch-commits
mailing list