Teach dwarf writer to handle complex address expression for .debug_loc entries.
authorDevang Patel <dpatel@apple.com>
Thu, 28 Apr 2011 02:22:40 +0000 (02:22 +0000)
committerDevang Patel <dpatel@apple.com>
Thu, 28 Apr 2011 02:22:40 +0000 (02:22 +0000)
commitc26f5447e39b43a6dd9c1a9d88227f4adf3b5600
tree8aa0a0b61c3c69a8c101b2ed4b58adbe1abd180f
parent450ed1a05bd5e12c141629b0d0ba275958634980
Teach dwarf writer to handle complex address expression for .debug_loc entries.
This fixes clang generated blocks' variables' debug info.
Radar 9279956.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130373 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/AsmPrinter.h
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
lib/CodeGen/AsmPrinter/DwarfDebug.h
lib/Target/ARM/ARMAsmPrinter.cpp
lib/Target/ARM/ARMAsmPrinter.h
test/CodeGen/ARM/2010-08-04-StackVariable.ll
test/CodeGen/X86/2010-08-04-StackVariable.ll