Displaying 2 results from an estimated 2 matches for "_oc_str1".
Did you mean:
_oc_str
2011 Oct 10
2
[LLVMdev] There are compiling errors when converting bytecode to c by LLC
...printf("hello world1\n");
return 0;
}
The two commands:
llvm-gcc -emit-llvm -c -o hello.bc hello.c
llc -march=c hello.bc
Version of LLVM: 2.9
The source of error in generated c file:
/* Global Variable Declarations */
static _OC_str { unsigned char array[12]; };
static _OC_str1 { unsigned char array[13]; };
/* Global Variable Definitions and Initialization */
static _OC_str { unsigned char array[12]; } = { "hello world" };
static _OC_str1 { unsigned char array[13]; } = { "hello world1" };
It seems that _OC_str, and _OC_str1 are structure variab...
2011 Oct 29
0
[LLVMdev] There are compiling errors when converting bytecode to c by LLC
...e two commands:
>
> llvm-gcc -emit-llvm -c -o hello.bc hello.c
>
> llc -march=c hello.bc
>
> Version of LLVM: 2.9
>
> The source of error in generated c file:
>
> /* Global Variable Declarations */
>
> static _OC_str { unsigned char array[12]; };
>
> static _OC_str1 { unsigned char array[13]; };
>
>
>
> /* Global Variable Definitions and Initialization */
>
> static _OC_str { unsigned char array[12]; } = { "hello world" };
>
> static _OC_str1 { unsigned char array[13]; } = { "hello world1" };
>
> It seems that...