Displaying 1 result from an estimated 1 matches for "gvar_array_mypid".
2015 Mar 05
4
[LLVMdev] global variable
Hi all,
I am newbie for llvm.  I just create a global variable, there are some statements in my pass like:
    LoadInst* int64_64 = new LoadInst(pthreadPID, "", false, OptAplusOne);
    int64_64->setAlignment(8);
    int64_64->dump();
    LoadInst* int32_65 = new LoadInst(gvar_int32_myFlag, "", false, OptAplusOne);
    int32_65->setAlignment(4);