-
Notifications
You must be signed in to change notification settings - Fork 838
Closed
Description
There is a memory leak at the end of Optimizer::SkipEmptyBlocks
Lines 656 to 657 in 9024697
| // FIXME do we leak old unused Branches? | |
| CurrBlock->BranchesOut.swap(NewBranchesOut); |
where the answer to the question appears to be "yes" according to LSan.
Steps to reproduce:
- Compile with
-fsanitize=address - Run
check.py wasm-opt --filter=*flatten_rereloop*
I tried to naively iterate through the swapped NewBranchesOut and find the branches not contained in CurrBlock->BranchesOut anymore, and that found some, but this didn't fix the problem entirely. Requesting expert support once more :)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels