llvm-project
b7d8831f - [lit] dealloc ApplyResult objects as they're waited on (#188642)

Commit
19 days ago
[lit] dealloc ApplyResult objects as they're waited on (#188642) In _wait_for(), all async tasks are waited for. However, the objects are held in the async_result list until the function calls complete. This leads to about 3.6gig mem usage on my system when running check-llvm, even though these objects aren't needed after the ar.get() call. Dealloc them as we go instead. Addresses #188641
Author
Parents
Loading