[PATCH] D18883: Add a pass to name anonymous/nameless function

Mehdi AMINI via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 12 14:21:23 PDT 2016


joker.eph added a comment.

I missed this comment originally.

So the pass itself is really intended to be targeting nameless functions. The ModuleHash computation could be refactored though (I'll leave it for when needed). 
I'm not sure how to write the `llvm::nameUnamedFunctions()` to be reusable though. It should be easier to figure out when the exact need will be there.


http://reviews.llvm.org/D18883





More information about the llvm-commits mailing list