mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
cb3ee3c8ac
Before decompiling, we want to get rid of all unused stuff from the IR. To do this, we have to: 1. Modify `FilterForDecompilation` so that it removes the body of all non-isolated functions 2. Add `strip-dead-prototypes` to the preparation pipeline, so that also the declarations of non-isolated functions that are not directly called inside an isolated function are stripped from the LLVM module. In this way, we can safely execute `HelpersToHeader`