commit | 40c7e4142e2327a540eceb640392a6da4ccfb3bf | [log] [tgz] |
---|---|---|
author | Devang Patel <dpatel@apple.com> | Wed Jul 20 22:18:50 2011 +0000 |
committer | Devang Patel <dpatel@apple.com> | Wed Jul 20 22:18:50 2011 +0000 |
tree | dce690dfa1192fda347658cb72aa1d4e35b6aa07 | |
parent | 747032522f9f3b2d9bae71aa303c1a0fd953eee9 [diff] |
There are two ways to map a variable to its lexical scope. Lexical scope information is embedded in MDNode describing the variable. It is also available as a part of DebugLoc attached with DBG_VALUE instruction. DebugLoc attached with an instruction is less reliable in optimized code so use information embedded in the MDNode. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135629 91177308-0d34-0410-b5e6-96231b3b80d8