Displaying 2 results from an estimated 2 matches for "xbroken".
Did you mean:
broken
2010 Feb 16
3
[LLVMdev] Creating a global variable in JIT context
...nt(32, 0));
V = new GlobalVariable(getGlobalContext(), type, 0,
GlobalValue::PrivateLinkage, zerov, name);
And these are the error messages given by verifyFunction:
Function return type does not match operand type of return inst!
ret i32* @x i32Referencing global in another module!
ret i32* @xBroken module found, compilation aborted!
Any idea of what I might be doing wrong? Is this the right way to be
going about it in the first place?
2010 Feb 16
0
[LLVMdev] Creating a global variable in JIT context
...able(getGlobalContext(), type, 0,
> GlobalValue::PrivateLinkage, zerov, name);
>
> And these are the error messages given by verifyFunction:
>
> Function return type does not match operand type of return inst!
> ret i32* @x i32Referencing global in another module!
> ret i32* @xBroken module found, compilation aborted!
>
> Any idea of what I might be doing wrong? Is this the right way to be
> going about it in the first place?
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.ed...