DebugInfo: Flag type unit references as declarations
authorDavid Blaikie <dblaikie@gmail.com>
Fri, 31 Jan 2014 19:52:26 +0000 (19:52 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Fri, 31 Jan 2014 19:52:26 +0000 (19:52 +0000)
commit0451736fc9e36e6e525460871020724204f4da5a
tree992bc7f7dbf8d6e0fb92b3e2aa1f0c9a6b94f472
parent4fa3492f97fcf9d35e085840b62fe2e5b0ca7214
DebugInfo: Flag type unit references as declarations

This ensures DWARF consumers don't confuse these references for
definitions. I'd argue it might be nice to improve debuggers so we don't
need this, but it's just one field in an abbreviation anyway - so it
doesn't seem worth the fight.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200569 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
test/DebugInfo/X86/generate-odr-hash.ll