]> granicus.if.org Git - clang/commit
Add a completed/incomplete type difference. This allows us to have
authorEric Christopher <echristo@apple.com>
Wed, 15 Feb 2012 23:25:18 +0000 (23:25 +0000)
committerEric Christopher <echristo@apple.com>
Wed, 15 Feb 2012 23:25:18 +0000 (23:25 +0000)
commit9a68d4584afcd0853b930bd80235b58736e785b4
treed3432c3434e7c238c600f2573f41ba0357865a4f
parent3ad02aa90105a9fcfd3d4328e800aa1362a90234
Add a completed/incomplete type difference. This allows us to have
partial types for contexts and forward decls while allowing us to
complete types later on for debug purposes.

This piggy-backs on the metadata replacement and rauw changes
for temporary nodes and takes advantage of the incremental
support I added in earlier. This allows us to, if we decide,
to limit adding methods and variables to structures in order
to limit the amount of debug information output into a .o file.

The caching is a bit complicated though so any thoughts on
untangling that are welcome.

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