[LLVMdev] How to define a global variable?

Renato Golin rengolin at systemcall.org
Wed Jan 12 15:08:52 PST 2011


On 12 January 2011 22:28, Rob Nikander <rob.nikander at gmail.com> wrote:
> @x = external global %0*

Hi Rob,

Try removing the 'extern', as it implies the variable storage is
elsewhere (ie. another object file).

cheers,
--renato



More information about the llvm-dev mailing list