[all-commits] [llvm/llvm-project] 9af467: [llvm-profgen] Move profiled binary loading out of...

ictwanglei via All-commits all-commits at lists.llvm.org
Tue Aug 17 17:28:52 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9af46710fe9e4f76f7f68ca05d216071832309ec
      https://github.com/llvm/llvm-project/commit/9af46710fe9e4f76f7f68ca05d216071832309ec
  Author: wlei <wlei at fb.com>
  Date:   2021-08-17 (Tue, 17 Aug 2021)

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

  Log Message:
  -----------
  [llvm-profgen] Move profiled binary loading out of PerfReader

Change to use unique pointer of profiled binary to unblock asan.

At same time, I realized we can decouple to move the profiled binary loading out of PerfReader, so I made some other related refactors.

Reviewed By: hoy

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




More information about the All-commits mailing list