[LLVMdev] (Possibly buggy?) doFinalization method behavior of FunctionPass

Cristianno Martins cristiannomartins at gmail.com
Wed May 6 09:22:02 PDT 2015


Only one little correction:

I don't really mind at all if other passes run or even had their
> doFinalization passes running in any order in relation to mine: the point
> here is doFinalization is running (I know that because module.dump() is
> being called from inside that function, and I can see the module containing
> the modifications I do during the execution of that method), but the final
> bc file (written by opt) does have the exactly same code that I get if I
> dumped module *at the beginning* of my doFinalization (and they have
> differences between them btw =)).
>

Here, I meant to say "At the end" =)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150506/548e26b4/attachment.html>


More information about the llvm-dev mailing list