Go to file
Duncan P. N. Exon Smith b93569d182 IR: Stop abusing DW_TAG_base_type for compile unit arrays
The sub-arrays for compile units have for a long time been initialized
to distinct temporary nodes with the `DW_TAG_base_type` tag, with no
other operands.  These invalid `DIBasicType`s are later replaced with
appropriate arrays.

This seems like a poor man's assertion that the arrays do eventually get
replaced.  These days, temporaries in the graph will cause assertions
when writing bitcode or assembly, so this isn't necessary.  Use
temporary empty tuples instead.

Note that the whole idea of using temporaries and then replacing them
later is wasteful here.  We never actually want to merge compile units
by uniquing based on content.  Compile units should use `getDistinct()`
instead of `get()`, and then their operands can be freely replaced later
on.

llvm-svn: 228967
2015-02-12 21:52:11 +00:00
clang Mangle the IsSystem bit into the .pcm file name 2015-02-12 21:51:31 +00:00
clang-tools-extra [clang-tidy] Fixed a false positive case in misc-inefficient-algorithm checker. 2015-02-12 18:19:34 +00:00
compiler-rt [Sanitizer] Change InitializeFlags() signatures. NFC. 2015-02-12 00:36:42 +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 Implement log10 2015-01-30 18:00:34 +00:00
libcxx Fixed a problem that UBSAN found, where we were calling memcmp(null, p, 0) - which is undefined behavior 2015-02-12 19:58:06 +00:00
libcxxabi unwind: use explicit memcpy for register saving 2015-02-12 04:25:05 +00:00
lld PECOFF: Don't parse files in .drectve asynchronously. 2015-02-12 20:33:40 +00:00
lldb Add Initialize/Terminate method to Platform base plugin 2015-02-12 18:18:27 +00:00
llgo irgen: don't emit debug metadata for locals 2015-01-29 00:34:30 +00:00
llvm IR: Stop abusing DW_TAG_base_type for compile unit arrays 2015-02-12 21:52:11 +00:00
openmp Fixed memory corruption problem. 2015-02-10 20:10:21 +00:00
polly Link LLVM libraries into libLLVMPolly if BUILD_SHARED_LIBS=ON is set 2015-02-12 08:27:19 +00:00