[llvm-branch-commits] [clang-tools-extra] [clang] [libcxx] [mlir] [llvm] [libc] [lldb] [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


================
@@ -164,12 +167,16 @@ std::error_code BoltAddressTranslation::parse(StringRef Buf) {
 
     LLVM_DEBUG(dbgs() << "Parsing " << NumEntries << " entries for 0x"
                       << Twine::utohexstr(Address) << "\n");
+    uint64_t InputOffset = 0, OutputOffset = 0;
----------------
rafaelauler wrote:

Maybe I'm missing something, but I don't understand why are we naming this as Offset. Even in BAT.md it is listed as 'address' instead of offset. 

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


More information about the llvm-branch-commits mailing list