]> granicus.if.org Git - clang/commit
Do not generate bogus location info for DW_TAG_inheritance
authorChris Lattner <sabre@nondot.org>
Tue, 5 May 2009 05:05:36 +0000 (05:05 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 5 May 2009 05:05:36 +0000 (05:05 +0000)
commit9e55b8a8b34ca1f401425cd14a32ba55d4f7aa73
tree9e40e5a35d717b71bc2434e017c19bed5e6e314e
parent650cea9cc5ceb9fbcf8897db0e252e5bdb5c5179
Do not generate bogus location info for DW_TAG_inheritance
DIEs.  We were generating a loc with line of 0 and a file.
These tags do not need locations at all, just remove it.
this fixes rdar://6852792 - Clang generates incorrect (and unnecessary) file and line info for DW_TAG_inheritance dies

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70966 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGDebugInfo.cpp