commit | ff7d0e9509cf8f359fe14c05dc29a05a293ce88f | [log] [tgz] |
---|---|---|
author | Torok Edwin <edwintorok@gmail.com> | Tue Mar 10 13:41:26 2009 +0000 |
committer | Torok Edwin <edwintorok@gmail.com> | Tue Mar 10 13:41:26 2009 +0000 |
tree | c14372a112c7b3779e087c48e9279ef31afe068f | |
parent | c29f0c7ddea5a7d5e4f01b47735cb9acdc9ec4df [diff] |
Global variables don't have a corresponding llvm.dbg.declare, yet it is possible to obtain debug info about them. Introduce helpers to access debug info for global variables. Also introduce a helper that works for both local and global variables. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66541 91177308-0d34-0410-b5e6-96231b3b80d8