Always emit DW_AT_declaration attribute when the variable isn't a definition.
authorFrederic Riss <friss@apple.com>
Thu, 18 Sep 2014 09:38:23 +0000 (09:38 +0000)
committerFrederic Riss <friss@apple.com>
Thu, 18 Sep 2014 09:38:23 +0000 (09:38 +0000)
commit0a8f3afa4e91a7ffdc4a0740f7198aa1d110947b
tree184c87312acccbb6ca40973884d485c91fed4594
parent344b66866d9991104bdd675efff7f510817bdb1d
Always emit DW_AT_declaration attribute when the variable isn't a definition.

Summary:
This doesn't show up today as we don't emit decalration only variables. This
will be tested when the followup patches implementing import of forward
declared entities lands in clang.

Reviewers: echristo, dblaikie, aprantl

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D5382

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218041 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfUnit.cpp