]> granicus.if.org Git - clang/commit
When in a limited debug information situation if we can find the original
authorEric Christopher <echristo@apple.com>
Fri, 16 Dec 2011 23:40:18 +0000 (23:40 +0000)
committerEric Christopher <echristo@apple.com>
Fri, 16 Dec 2011 23:40:18 +0000 (23:40 +0000)
commit973bbb6a8abdc8af99c9a0b78cdbf6e7adb684eb
tree257c7e94c50dee6718ef508a45f7e46fc5cbdbf3
parent435e106f94a4e17bbbf6b1ad82185b305943ad3f
When in a limited debug information situation if we can find the original
declaration for the type then go ahead and use that, it's still smaller
than creating an all new derived type.

Part of rdar://10335756 and others.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@146779 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGDebugInfo.cpp
lib/CodeGen/CGDebugInfo.h
test/CodeGenCXX/debug-info-fwd-ref.cpp