[llvm-commits] [patch] Don't link as many parts of llvm into bugpoint

Rafael Espindola espindola at google.com
Tue Aug 10 07:50:57 PDT 2010


> Just from my point of view I love to be able to use the same command
> line for opt and bugpoint. If opt fails with a bug I just replace "opt"
> with "bugpoint" in the command line.
> As I sometimes use the -std-compile-opts flag, it would be inconvenient
> to have to replace it manually. Maybe there is an easy way to get the
> -std-compile-opts support back without having to link to all those other
> libraries?

I think I can refactor things so that it is possible to just get a
pass list without linking in the code for all those passes. How to get
a list of all passes that are available is a bit harder. My current
idea is to just run opt and ask it to print it.

> By the way, bugpoint always gives me an error if I leave the "-o" option
> in the command line. It would be nice if it could just ignore it with a
> warning. Like this I really just need to replace "opt" with "bugpoint".

I see. I have normally used bugpoint for some very strange problems
(bootstrap being broken) so I usually didn't care to much about the
interface. I will try to keep the current one.

> Thanks for you ongoing great work on bugpoint.
>
> Tobi

Cheers,
-- 
Rafael Ávila de Espíndola




More information about the llvm-commits mailing list