Displaying 1 result from an estimated 1 matches for "gstrb".
Did you mean:
strb
2005 Feb 02
1
[LLVMdev] RE: Question about Global Variable
Thanks for your reply.
After I change Cstr to gI, it compiled successfully. Thanks again.
Another question is for constructing getelementpt.
// C code
char gStrA[10] = "test str"; // here is Global variable,gStrA and initializer "test str"
char gStrB[10]= "test str2";
main(){
int = i;
char *pGVars[20]; // here, the pGVar is for storing the address of each initializer, i.e. "test str"
pGVars[0] = gStrA;
pGVars[1] = gStrB;
// change the content of gStrA
for(i=0;i<5;i++){
pGVars[0][i] ^= 0x27...