search for: _global__i_main

Displaying 3 results from an estimated 3 matches for "_global__i_main".

2006 Oct 16
1
[LLVMdev] initializer does not match global variable type.
...t.objc_ivar_list = type opaque %struct.objc_method_list = type opaque %struct.objc_object = type { %struct.objc_class* } %struct.objc_protocol_list = type opaque %struct.sarray = type opaque %llvm.global_ctors = appending global [1 x { int, void ()* }] [ { int, void ()* } { int 65535, void ()* %_GLOBAL__I_main } ] ; <[1 x { int, void ()* }]*> [#uses=0] %.str_2 = internal constant [13 x sbyte] c"Hello world\0A" ; <[13 x sbyte]*> [#uses=1] %.str_3 = internal constant [9 x sbyte] c"Fraction" ; <[9 x sbyte]*> [#uses=1] %.str_4 = internal constant [2 x sbyte] c"\0A...
2006 Oct 17
1
[LLVMdev] initializer does not match global variable type.
...t.objc_ivar_list = type opaque %struct.objc_method_list = type opaque %struct.objc_object = type { %struct.objc_class* } %struct.objc_protocol_list = type opaque %struct.sarray = type opaque %llvm.global_ctors = appending global [1 x { int, void ()* }] [ { int, void ()* } { int 65535, void ()* %_GLOBAL__I_main } ] ; <[1 x { int, void ()* }]*> [#uses=0] %.str_2 = internal constant [13 x sbyte] c"Hello world\0A\00" ; <[13 x sbyte]*> [#uses=1] %.str_3 = internal constant [9 x sbyte] c"Fraction\00" ; <[9 x sbyte]*> [#uses=1] %.str_4 = internal constant [2 x sbyte] c&qu...
2010 Feb 15
2
[LLVMdev] Incorrect execution of global constructor with JIT on ARM
...const Global Constant(arr); in main function as local variable then everything runs fine - program prints out 1234. Is that some issue with LLVM JIT for ARM, or LLVM in general? Same code runs fine on Windows with same version of llvm. Global constructor code looks like this: define internal void @_GLOBAL__I_main() nounwind { entry: store i8 1, i8* getelementptr inbounds (%struct.Global* @_ZL8Constant, i32 0, i32 0, i32 0), align 8 store i8 2, i8* getelementptr inbounds (%struct.Global* @_ZL8Constant, i32 0, i32 0, i32 1), align 1 store i8 3, i8* getelementptr inbounds (%struct.Global* @_ZL8Constant,...