t-tye added a comment.

In https://reviews.llvm.org/D53153#1288127, @rjmccall wrote:

> In https://reviews.llvm.org/D53153#1288112, @rjmccall wrote:
>
> > But do you want to support *dynamically* linking object files?  Because 
> > that's what visibility is about.
>
>
> To be specific, if you don't have multiple levels of linking — doing a slower 
> and relatively more expensive link to form a self-contained unit of code 
> distribution, then doing a faster link to form a runnable program from 
> multiple independently-distributed such units — then visibility isn't really 
> doing anything for you.


Currently the AMDGPU code objects are fully linked dynamically loader shared 
libraries. They are not relocatable code objects. This allows fewer and cheaper 
relocations and a smaller (dynsym) symbol table for the runtime loader.


https://reviews.llvm.org/D53153



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to