[LLVMdev] Docs question: legality of inspecting other functions in a function pass

Stephen Lin swlin at post.harvard.edu
Sat Jul 6 02:49:13 PDT 2013


> in my opinion function passes should not be inspecting the bodies of other
> functions.  I'm happy to review a doc patch that says this.
>
> Ciao, Duncan.
>

OK, thanks, I submitted a (one-line) patch to llvm-commits:

http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20130701/180210.html

I'll commit it in a few days if no one objects.

Stephen



More information about the llvm-dev mailing list