[llvm-branch-commits] [llvm] [clang-tools-extra] [lldb] [clang] [libc] [libcxx] [mlir] [BOLT] Delta-encode offsets in BAT (PR #76900)

Amir Ayupov via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Jan 11 14:21:25 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;
----------------
aaupov wrote:

No, these are offsets, BAT.md is incorrect here

https://github.com/llvm/llvm-project/pull/76900


More information about the llvm-branch-commits mailing list