Hello Ali,
I agree. I do not intend to have the patches adding the relocations
committed until our work is approved and checked in to LLVM.
>
> From your description, I am expecting the number of
> relocations to go up dramatically, and since relocation
> processing is a big part of link-edit time, I wonder
> how well this is going to scale on large programs.
> You might find that you need to alter some details, or
> that you need something else. Why not wait until you
> know for sure?
This is part of the cost of basic block sections which we looked at
quite a bit over the last few months. Using profiles, we are able to
significantly reduce the number of basic blocks that need sections and
hence need these relocations. For instance, for large programs, less
than 3% of the basic blocks would end up in unique sections requiring
these relocations. Even for the clang benchmark, which was an extreme
candidate, 7% of basic blocks required relocations.
>
> Sorry if I've misread the situation. I'm just a cursory
> bystander in this, watching it go by.
No you have not misread it. These are great questions!
Thanks
Sri
>
> - Ali
>
> --
> You received this message because you are subscribed to the Google Groups "X86-64 System V Application Binary Interface" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
x86-64-abi+...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/x86-64-abi/f87a3222-fc6f-04a2-d232-99421aee8569%40Oracle.COM.