]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - opencl/llvm.git/commit
DebugLoc associated with a machine instruction is used to emit location entries....
authorDevang Patel <dpatel@apple.com>
Fri, 4 Feb 2011 01:43:25 +0000 (01:43 +0000)
committerDevang Patel <dpatel@apple.com>
Fri, 4 Feb 2011 01:43:25 +0000 (01:43 +0000)
commitf827cd717b63fd3f1d9ad16e69087c65e9af8c82
tree999e57a89d0512f592aa58d99d7f98cdf20ea433
parentc8b90e22a8f2987126a7e2e841adc8db9776521c
DebugLoc associated with a machine instruction is used to emit location entries. DebugLoc associated with a DBG_VALUE is used to identify lexical scope of the variable. After register allocation, while inserting DBG_VALUE remember original debug location for the first instruction and reuse it, otherwise dwarf writer may be mislead in identifying the variable's scope.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124845 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/LiveDebugVariables.cpp
test/CodeGen/X86/dbg-value-location.ll [new file with mode: 0644]
test/CodeGen/X86/dbg-value-range.ll