[all-commits] [llvm/llvm-project] 8421c7: [BOLT][Wrapper] Fix off-by-one when parsing 'cmp' ...

Job Noorman via All-commits all-commits at lists.llvm.org
Mon Apr 24 11:55:19 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8421c7ad304faee9056f43dc771f0ff76c14afec
      https://github.com/llvm/llvm-project/commit/8421c7ad304faee9056f43dc771f0ff76c14afec
  Author: Job Noorman <jnoorman at igalia.com>
  Date:   2023-04-24 (Mon, 24 Apr 2023)

  Changed paths:
    M bolt/utils/llvm-bolt-wrapper.py

  Log Message:
  -----------
  [BOLT][Wrapper] Fix off-by-one when parsing 'cmp' output

The byte offsets in the output of 'cmp' start from 1, not from 0 as the
current parser assumes. This caused mismatched bytes to sometimes be
attributed to the wrong section.

Reviewed By: rafauler

Differential Revision: https://reviews.llvm.org/D149046




More information about the All-commits mailing list