[LLVMdev] using bugpoint in a complex ruby code build case

Rafael EspĂ­ndola rafael.espindola at gmail.com
Sat Nov 27 21:24:56 PST 2010


> Due to the lack of bugpoint examples in the documentation, I have no
> idea how to use bugpoint
> in this complex case, where vm.o firstly needs to be linked with lots
> of other compiled modules
> and libraries, then the resulting program needs to be executed with
> some parameters!

It should be possible. I did something like that for debugging a clang
bootstrap. What I did was link all the other files and libraries into
a single .o with "ld -r" and pass it with -Xlinker.


> Also, if bugpoint were to be able to deal with this complex scenario,
> how could one provide
> hints to bugpoint not to try everything, but to focus on certain llvm
> steps?
>
> Thanks,
> Frank

Cheers,
Rafael



More information about the llvm-dev mailing list