Go to file
Duncan P. N. Exon Smith a59d3e5af8 DebugInfo: Remove MDString-based type references
Eliminate DITypeIdentifierMap and make DITypeRef a thin wrapper around
DIType*.  It is no longer legal to refer to a DICompositeType by its
'identifier:', and DIBuilder no longer retains all types with an
'identifier:' automatically.

Aside from the bitcode upgrade, this is mainly removing logic to resolve
an MDString-based reference to an actualy DIType.  The commits leading
up to this have made the implicit type map in DICompileUnit's
'retainedTypes:' field superfluous.

This does not remove DITypeRef, DIScopeRef, DINodeRef, and
DITypeRefArray, or stop using them in DI-related metadata.  Although as
of this commit they aren't serving a useful purpose, there are patchces
under review to reuse them for CodeView support.

The tests in LLVM were updated with deref-typerefs.sh, which is attached
to the thread "[RFC] Lazy-loading of debug info metadata":

  http://lists.llvm.org/pipermail/llvm-dev/2016-April/098318.html

llvm-svn: 267296
2016-04-23 21:08:00 +00:00
clang [profile] Fix another use of the driver. 2016-04-23 02:13:48 +00:00
clang-tools-extra clang-tidy/cppcoreguidelines/ProTypeMemberInitCheck.cpp: Use raw_string_ostream::str() to flush the buffer explicitly. 2016-04-23 14:54:28 +00:00
compiler-rt [esan] EfficiencySanitizer libc interceptors 2016-04-23 16:41:24 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc prepare-builtins: Remove call to getGlobalContext() 2016-04-15 14:18:58 +00:00
libcxx Rename a few tests that had typos in their names. No functional change. Thanks to STL for the catch 2016-04-23 14:31:00 +00:00
libcxxabi Enable testing for static libc++abi 2016-04-19 12:47:38 +00:00
libunwind unwind: unify some more macros 2016-04-22 17:11:05 +00:00
lld Add a file comment about the Ulrich's document and don't repeat it in other comments. 2016-04-23 01:10:15 +00:00
lldb ObjectFile: parse EABI Attributes 2016-04-23 16:00:15 +00:00
llgo benchcomp: Add a mode for analyzing rule execution time in ninja log files. 2016-04-08 22:42:22 +00:00
llvm DebugInfo: Remove MDString-based type references 2016-04-23 21:08:00 +00:00
openmp [ITTNOTIFY] Remove serialized parallel regions from frame notification 2016-04-19 16:55:17 +00:00
polly Add an invalid domain to memory accesses 2016-04-23 14:32:34 +00:00