Displaying 1 result from an estimated 1 matches for "l_objc_meth_var_name_0".
Did you mean:
l_objc_meth_var_name_1
2008 Jun 06
0
[LLVMdev] translating Objective C to C
...rying to do the same with Objective C, I got C code which cannot
be compiled, because the same symbol gets declared several times in
the C source.
>llvm-gcc -emit-llvm helloworld.m -c -o main.bc
>llc -march=c main.bc -o main.c
>gcc -c main.c
main.c:321: error: redefinition of ‘L_OBJC_METH_VAR_NAME_0’
main.c:319: error: previous definition of ‘L_OBJC_METH_VAR_NAME_0’
was here
The generated code in main.c includes for example:
static unsigned char L_OBJC_METH_VAR_NAME_0[9] = "sayHello";
static unsigned char L_OBJC_METH_VAR_TYPE_0[7] = "v8 at 0:4";
static unsigned char L...