Go to file
Greg Clayton 1c9e5acd27 Added the DWARF unique type map such that we only create a type once in the
module's AST context. Prior to this fix, with gcc binaries, we end up with
a full class definition for any used classes in each compile unit due to the
one definition rule. This would result in us making N copies of class T, where
N is the number of compile units that use class T, in the module AST. When
an expression would then try and use any types that were duplicated, it would
quickly confuse clang and make expression evaluation fail due to all of the
duplicate types that got copied over. This is now fixed by making a map of
types in the DWARF that maps type names to a collection of types + declaration
(file + line number) + DIE. Then later when we find a type we look in this
module map and find any already cached types that we can just use.

8935777

llvm-svn: 125207
2011-02-09 19:06:17 +00:00
clang Finish up the diagnostic client before we've torn down the ASTReader, 2011-02-09 18:47:31 +00:00
compiler-rt clang_darwin: We don't need clear_cache for use with Clang on ARM/Darwin. 2011-01-21 18:23:47 +00:00
debuginfo-tests Test case for r125142. 2011-02-09 00:37:52 +00:00
libcxx Missing traits::to_int_type in fstream 2011-02-02 17:37:16 +00:00
lldb Added the DWARF unique type map such that we only create a type once in the 2011-02-09 19:06:17 +00:00
llvm Don't run ocamldoc if it's not installed 2011-02-09 18:32:04 +00:00