Displaying 3 results from an estimated 3 matches for "a1a69878".
2011 Mar 10
0
[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
2011 Mar 11
1
[LLVMdev] Detrimental optimization for reducing relocations.
...erence. I
attached the patch.
Thanks,
Jan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0047_sectionbasezerodelete.patch
Type: application/octet-stream
Size: 2311 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110311/a1a69878/attachment.obj>
2011 Mar 10
3
[LLVMdev] Detrimental optimization for reducing relocations.
I was looking into the AsmPrinter and the method EmitSectionOffset which
contains this code:
--------------------------------------------------------------------------------
// If the section in question will end up with an address of 0 anyway, we can
// just emit an absolute reference to save a relocation.
if (Section.isBaseAddressKnownZero()) {
OutStreamer.EmitSymbolValue(Label, 4,