[LLVMdev] Hidden-visibility aliases to default-visibility globals

Joerg Sonnenberger joerg at britannica.bec.de
Wed Mar 20 22:12:27 PDT 2013


On Wed, Mar 20, 2013 at 02:22:47PM -0700, Peter Collingbourne wrote:
> I am trying to compile a dynamic loader using LLVM.  Part of the IR
> for this loader looks like this:
> 
> @_rtld_local = hidden alias %struct.rtld_global* @_rtld_global
> @_rtld_global = unnamed_addr global %struct.rtld_global { ... }

Have you tried using protected visibility?

Joerg



More information about the llvm-dev mailing list