<div dir="ltr"><div>Hi all,</div><div>I have a global array declared as: table = internal constant [8 x [256 x i32]] ...</div><div><br></div><div>At the moment I'm able to get the reference to table using Constant* g_var = cast<GlobalVariable>(I.getOperand(0))->getInitializer(); ( please consider I to be a GetElementPtrInst object ).</div><div><br></div><div>Now I would like to understand how to get the address of table[2][3], for instance, considering that I have the g_var variable.</div><div><br></div><div>In addition, I was able to access to the value table[2][3] so for me would be also OK to have the address of that specific value once I already have access to the value.</div><div><br></div><div>Thanks</div><div>Alberto<br></div></div>