[all-commits] [llvm/llvm-project] 418e44: [InstrProf] Correct buffer size for encodeULEB128 ...

Kazushi Marukawa via All-commits all-commits at lists.llvm.org
Mon Sep 25 18:16:15 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 418e441936d62b847398162ed32399d876f13b59
      https://github.com/llvm/llvm-project/commit/418e441936d62b847398162ed32399d876f13b59
  Author: Kazushi Marukawa <marukawa at nec.com>
  Date:   2023-09-26 (Tue, 26 Sep 2023)

  Changed paths:
    M llvm/lib/ProfileData/InstrProf.cpp

  Log Message:
  -----------
  [InstrProf] Correct buffer size for encodeULEB128 (#67011)

This function uses 16 bytes buffer to encode two 64 bits data. However,
the encoding method requires 10 bytes to encode one 64 bits data, so
encoded data actually requiress 20 bytes total.




More information about the All-commits mailing list