[LLVMdev] Detrimental optimization for reducing relocations.
Jan Sjodin
jan_sjodin at yahoo.com
Thu Mar 10 15:43:21 PST 2011
----- Original Message ----
> From: Rafael Ávila de Espíndola <rafael.espindola at gmail.com>
> To: llvmdev at cs.uiuc.edu
> Sent: Thu, March 10, 2011 4:22:32 PM
> Subject: Re: [LLVMdev] Detrimental optimization for reducing relocations.
>
> > 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.
Will the testsuite work on ELF? The patch does not make any functional change
for the other formats. I know that gdb is okay with the example, but that
doesn't say very much.
- Jan
More information about the llvm-dev
mailing list