This is necessary for CFI-ICall + ThinLTO, because the regular LTO
step of CFI-ICall needs to know the results of, at least,
summary-based dead stripping.
Details
Details
- Reviewers
pcc tejohnson mehdi_amini
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Can you just move the block with the call to computeDeadSymbols like this patch does?
https://github.com/pcc/llvm-project/commit/1731b9179a7a448469e2977aaae142fab75c6bbd
Comment Actions
If you just need the list of dead symbols, then there is no need to increase the scope of anything else. I would prefer to keep things as local as possible so that the flow of information is clearer.