Right now, Debugging information to encode scopes (DW_TAG_lexical_block) relies on...
authorDevang Patel <dpatel@apple.com>
Mon, 13 Apr 2009 18:13:16 +0000 (18:13 +0000)
committerDevang Patel <dpatel@apple.com>
Mon, 13 Apr 2009 18:13:16 +0000 (18:13 +0000)
commit48c7fa21a3b5e491bdf0ffc41fe7aa9687450c5f
tree05d4b47e7162da921a8539db4fb80c1fe9acaff6
parent0f7fef3872a37d09c806f52f1d03d74ebc73c171
Right now, Debugging information to encode scopes (DW_TAG_lexical_block) relies on DBG_LABEL. Unfortunately this intefers with the quality of optimized code.
This patch updates dwarf writer to encode scoping information in DWARF only in FastISel mode.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68973 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/DwarfWriter.h
lib/CodeGen/AsmPrinter/DwarfWriter.cpp
lib/CodeGen/SelectionDAG/FastISel.cpp
lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp