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.
Paths
| Differential D108254
[llvm-profgen] Move profiled binary loading out of PerfReader ClosedPublic Authored by wlei on Aug 17 2021, 4:02 PM.
Details Summary 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.
Diff Detail
Event TimelineComment Actions The code structure looks cleaner now, thanks.
This revision is now accepted and ready to land.Aug 17 2021, 4:40 PM Closed by commit rG9af46710fe9e: [llvm-profgen] Move profiled binary loading out of PerfReader (authored by wlei). · Explain WhyAug 17 2021, 5:28 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 367061 llvm/tools/llvm-profgen/PerfReader.h
llvm/tools/llvm-profgen/PerfReader.cpp
llvm/tools/llvm-profgen/llvm-profgen.cpp
|
Is this moved to anywhere?