[all-commits] [llvm/llvm-project] e549ac: [PERF2BOLT] Do not issue parsing error on weird bu...

Rafael Auler via All-commits all-commits at lists.llvm.org
Wed Sep 28 14:42:22 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e549ac072b55f6d29d01a31cddf246dcd1b353db
      https://github.com/llvm/llvm-project/commit/e549ac072b55f6d29d01a31cddf246dcd1b353db
  Author: Rafael Auler <rafaelauler at fb.com>
  Date:   2022-09-28 (Wed, 28 Sep 2022)

  Changed paths:
    M bolt/lib/Profile/DataAggregator.cpp

  Log Message:
  -----------
  [PERF2BOLT] Do not issue parsing error on weird build ids

In weird entries we were issueing a parse error. For example, in line 5 here:

6862acc063b0aa86595f52ff81628577df4296ff a.so
6862acc063b0aa86595f52ff81628577df4296ff a.so
6862acc063b0aa86595f52ff81628577df4296ff a.so
db758cb3c970044e78d5a4c99b011708a9995636 bin1
60326683eab31acfd03435d9ed4ff9a8         bin2
7d448e51851b4bdb33eac84f90e74628a14a5f00 b.so
742aa26e0211794356cc25f415c25230a26aa045 c.so

Error reading BOLT data input file: line 89, column 33: malformed field

Fix that.

Reviewed By: #bolt, Amir

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




More information about the All-commits mailing list