[LLVMdev] Detrimental optimization for reducing relocations.

Rafael Ávila de Espíndola
Thu, 10 Mar 2011 21:22:32 -0000

> 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