[LLVMdev] Whither /Support/StandardPasses.h?

Christian Parpart trapni at gentoo.org
Sat Dec 3 05:32:58 PST 2011

On Thu, Nov 3, 2011 at 9:00 PM, Harris, Kevin <Kevin.Harris at unisys.com>wrote:

> > Date: Wed, 26 Oct 2011 11:52:50 -0700
> > From: Tanya Lattner <lattner at apple.com>
> > Subject: [LLVMdev] Release Notes: Volunteers needed
> > We need some volunteers to help with the 3.0 release notes.
> Traditionally, Chris has been the one to go
> > through all the commits (6 months worth!) and come up with a concrete
> list of things that have changed in 3.0.
> > Ideally, it's much better if this document is incrementally updated as
> well, but we know how that goes. This
> > is a huge amount of work and with the pace that LLVM/Clang are being
> developed, it's a big task and becoming
> > too much for one person.
> > Thanks,
> > Tanya
> A suggestion to include: I've recently been trying to adapt our project to
> LLVM 3.0 rc2, and it took me several hours to track down what happened to
> "include/llvm/Support/StandardPasses.h".  There is no mention of this topic
> in the current release notes page for 3.0 on the website (
> http://llvm.org/docs/ReleaseNotes.html#whatsnew), or the equivalent page
> in the kit itself.  And it isn't easy to find how it has transmogrified
> just by searching the LLVM sources, because all the old API function names
> have also changed.
> I was finally able to track it down to the new header
> "include/llvm/Transforms/IPO/PassManagerBuilder.h" by looking at how the
> Clang usage had changed, where it previously had used StandardPasses.h and
> its contents.
> So, for the release notes, it would be nice to mention this change and
> perhaps give a couple examples how to convert from calls to
> "createStandardModulePasses()" and "createStandardFunctionPasses()" to the
> new interface.
> Thanks for everyone's hard work on 3.0 - I can't wait to get our project
> building cleanly with rc2.
>        -Kevin

I am just running into the very same issue right now, too.
Lucky me, I found this in my mail archive, however, please update the 3.0
release notes, as this was really causing me headaches too much, and maybe
others will run into the very same question, too.

Best regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20111203/b65e54ea/attachment.html>

More information about the llvm-dev mailing list