3 ms·
> Sure it is. Why not? Do you have a reference for that? I'd expect this to be hard, at linking time you no longer have the C++ source, so it's much harder to
by Nitramp 12y ago
> Sure it is. Why not?
Do you have a reference for that? I'd expect this to be hard, at linking time you no longer have the C++ source, so it's much harder to make such decisions.
- pcwalton 12y agoYou don't need the C++ source, just the IR. LLVM already removes mallocs if they are unused: http://lists.cs.uiuc.edu/pipermail/llvmdev/2010-July/033017.html http://lists.cs.uiuc.edu/pipermail/llvmdev/2010-July/033017....