[LLVMdev] Improving bugpoint

Chris Lattner clattner at apple.com
Thu Jul 17 21:04:10 PDT 2008


On Jul 17, 2008, at 5:38 PM, David Greene wrote:

> I've made quite a bit of progress getting bugpoint to work with
> our (non-gcc) tools.  In fact I caught the alignment bug I
> recently posted about using it.  But it's not there yet.

Cool.

>
> It appears that bugpoint outflanks itself and removes some global  
> symbols,
> generating a link error and causing bugpoint to go off on a not-very- 
> useful
> code generator crash analysis.  So I never actually end up getting a  
> reduced
> test case.

This occurs when you have functions/globals with no name (i.e. F- 
 >setName("")).

This might be http://llvm.org/bugs/show_bug.cgi?id=718

The basic fix is for bugpoint to add names to any unnamed symbols  
before it starts grinding.

-Chris



More information about the llvm-dev mailing list