On Mar 20, 2009, at 11:19 AM, Amr Yehia wrote: >> I am loading the CallGraph pass before it from my module Aha, so you're actually invoking function pass from a CG pass. See if my suggestion from http://lists.cs.uiuc.edu/pipermail/llvmdev/2009-February/020109.html helps. - Devang >