Displaying 2 results from an estimated 2 matches for "_oc_cst".
Did you mean:
_oc_cst1
2011 Oct 29
0
[LLVMdev] There are compiling errors when converting bytecode to c by LLC
...uld look like
this:
/* Typedefs */
typedef struct l_unnamed_0 l_unnamed_0;
typedef struct l_unnamed_1 l_unnamed_1;
/* Structure contents */
struct l_unnamed_0 {
unsigned char array[12];
};
struct l_unnamed_1 {
unsigned char array[13];
};
/* Global Variable Declarations */
static l_unnamed_0 _OC_cst;
static l_unnamed_1 _OC_cst1;
/* Global Variable Definitions and Initialization */
extern static l_unnamed_0 _OC_cst = { "hello world" };
extern static l_unnamed_1 _OC_cst1 = { "hello world1" };
- D.
2011/10/11 Fei Jia <j.jiafei at gmail.com>:
> I convert C to byteco...
2011 Oct 10
2
[LLVMdev] There are compiling errors when converting bytecode to c by LLC
I convert C to bytecode by LLVM, and then convert the bytecode back to C by
LLC, but the generated C code cannot be compiled. Could anyone give me some
suggestions? Thanks!
The initial C file is rather simple (hello world):
#include <stdio.h>
int main() {
printf("hello world\n");
printf("hello world1\n");
return 0;
}
The two commands: