Only emit DW_AT_object_pointer if this is a definition.
authorEric Christopher <echristo@apple.com>
Thu, 20 Sep 2012 22:51:57 +0000 (22:51 +0000)
committerEric Christopher <echristo@apple.com>
Thu, 20 Sep 2012 22:51:57 +0000 (22:51 +0000)
commitd57ae39a885649cf4d86e50e11fd2c453eae78d5
tree2c5699128085cf52b22c3bda6cc7299515014556
parent554da1a222eaeea71636700ca2b7dd931e81ade6
Only emit DW_AT_object_pointer if this is a definition.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164326 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
test/DebugInfo/X86/DW_AT_object_pointer.ll