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

Duncan Sands baldrick at free.fr
Sun Nov 28 09:53:45 PST 2010


> 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.

It is also possible to use -Xlinker many times, as in
   -Xlinker=obj_file1.o -Xlinker=obj_file2.o ... -Xlinker=library_1.a ...

>> 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?

You can give it an explicit set of passes to run.

Ciao,

Duncan.



More information about the llvm-dev mailing list