[LLVMdev] Local variable information in scope

Pankaj Gode godepankaj at yahoo.com
Wed Oct 12 03:14:59 PDT 2011

Hi all,
Using "CodeGen/LexicalScopes" pass, I could collect scope information i.e. start and end line numbers.
I also want to collect information of variables within the scope. 
For the below example:
int global;
int func( int t)
  //scope 1
     int a;
  return x;
For "scope 1", I should be able to collect that "a" is a local variable in scope1 and should also be able to identify whether "a" is static or non-static.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20111012/6c217766/attachment.html>

More information about the llvm-dev mailing list