[all-commits] [llvm/llvm-project] 1b212d: [llvm-profgen] Fix perf script parsing issues

ictwanglei via All-commits all-commits at lists.llvm.org
Mon Aug 8 15:52:26 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1b212d1098d264f2d5ccc17cde5492f9f2338df6
  Author: wlei <wlei at fb.com>
  Date:   2022-08-08 (Mon, 08 Aug 2022)

  Changed paths:
    M llvm/tools/llvm-profgen/PerfReader.cpp

  Log Message:
  [llvm-profgen] Fix perf script parsing issues

Fix two perf script parsing issues:

1) Redirect the error message to a new file. (the error message mixed in the perfscript could screw up the MMAP event line and cause a parsing failure)

2) Changed the MMap parsing error message to warning since the perfscript can still be parsed using the preferred address as base address.

Reviewed By: hoy, wenlei

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

More information about the All-commits mailing list