aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2011-02-04 01:43:25 +0000
committerDevang Patel <dpatel@apple.com>2011-02-04 01:43:25 +0000
commitf827cd717b63fd3f1d9ad16e69087c65e9af8c82 (patch)
tree999e57a89d0512f592aa58d99d7f98cdf20ea433 /lib/CodeGen/MachineBasicBlock.cpp
parentc8b90e22a8f2987126a7e2e841adc8db9776521c (diff)
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
Diffstat (limited to 'lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions