Ignore DBG_VALUE machine instructions while constructing instruction ranges based...
authorDevang Patel <dpatel@apple.com>
Tue, 15 Feb 2011 17:56:09 +0000 (17:56 +0000)
committerDevang Patel <dpatel@apple.com>
Tue, 15 Feb 2011 17:56:09 +0000 (17:56 +0000)
commitd3526eab46b96509d3195cf3367811af67b6d2c7
treee603d0169f5c4c51f323c32fe7db35233fe056b0
parent6e31b9b8c36c6dc1ed2bf9d47d9e04f1af17d0f4
Ignore DBG_VALUE machine instructions while constructing instruction ranges based on location info.
Machine instruction range consisting of only DBG_VALUE MIs only contributes consecutive labels in assembly output, which is harmless, and empty scope entry in DebugInfo, which confuses debugger tools.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125577 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
test/CodeGen/X86/dbg-value-range.ll