As titled.
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Time | Test | |
---|---|---|
15,070 ms | x64 debian > libarcher.races::task-dependency.c |
Paths
| Differential D108251
[llvm-profgen] Use shared pointer to fix memory leak issue from asan AbandonedPublic Authored by wlei on Aug 17 2021, 3:19 PM.
Diff Detail
Unit TestsFailed
Revision Contents
Diff 367036 llvm/tools/llvm-profgen/PerfReader.h
llvm/tools/llvm-profgen/PerfReader.cpp
llvm/tools/llvm-profgen/ProfileGenerator.h
llvm/tools/llvm-profgen/ProfileGenerator.cpp
|
I think you can use unique_ptr here. Everywhere else consuming the binary can use the raw pointer, until PerfReaderBase is deleted.