<div dir="ltr">Hi,<div><br></div><div style>  If I want to know where the stack variables are declared? For example,  whether it is declared within a loop or not?  Like variables a[100] and temp. </div><div style><br></div>
<div style>  int a[100];</div><div style>  for( int i = 0; i < N; i++){</div><div style>      int temp;</div><div style>    }</div><div style><br></div><div style>  Can this be done in LLVM IR? Or should be implemented in Clang.</div>
<div style><br></div><div style><br></div><div style>Thanks!</div><div style><br></div><div style><br></div><div style>Eric</div></div>