[LLVMdev] Detrimental optimization for reducing relocations.

Rafael Ávila de Espíndola rafael.espindola at gmail.com
Thu Mar 10 13:22:32 PST 2011


> So, clearly the optimization is making things worse. Would it be okay to delete
> this code and eliminate the isBaseAddressKnownZero? I would like to get rid of
> it.

I think it is OK. I can see ld/gdb expecting a relocation, but if that 
is the case we should just have a flag saying it is needed.

If you are really motivated to check it, run the gdb testsuite with your 
patch, but on ELF our debug info is still too big to be usable.

> - Jan

Cheers,
Rafael



More information about the llvm-dev mailing list