Go to file
Artem Belevich ed0577cc6d Fixed double-free in case of module loading error.
GetOutputStream() owns the stream it returns pointer to and the
pointer should never be freed by us. When we fail to load and exit
early, unique_ptr still holds the pointer and frees it which leads to
compiler crash when CompilerInstance attempts to free it again.

Added regression test for failed bitcode linking.

Differential Revision: http://reviews.llvm.org/D9625

llvm-svn: 237159
2015-05-12 17:44:15 +00:00
clang Fixed double-free in case of module loading error. 2015-05-12 17:44:15 +00:00
clang-tools-extra [clang-tidy] Treat all types with non-trivial destructors as RAII. 2015-05-12 12:17:20 +00:00
compiler-rt [sanitizer] Update "sancov.py missing" to allow __sanitizer_cov_with_check(). 2015-05-12 16:46:54 +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 sin for double types 2015-05-12 17:18:47 +00:00
libcxx Fix for LWG Issue 2415: Inconsistency between unique_ptr and shared_ptr 2015-05-10 13:59:45 +00:00
libcxxabi LIBCXXABI_LIBUNWIND_INCLUDES is already set before calling find_path, and find_path will not update it. 2015-05-09 21:03:01 +00:00
libunwind unwind: permit building against libstdc++ 2015-05-11 16:35:13 +00:00
lld [ARM] Use the correct variable name and unbreak buildbot. 2015-05-08 16:49:18 +00:00
lldb XFAIL and Skip flaky test case on linux 2015-05-12 14:25:43 +00:00
llgo [llgo] add buildbot-slave config 2015-04-08 01:41:46 +00:00
llvm [mips][microMIPSr6] Implement SELEQZ and SELNEZ instructions 2015-05-12 17:39:32 +00:00
openmp patch to allow lib name at configure time (from C.Bergstrom) 2015-05-12 13:31:57 +00:00
polly Rename IslCodeGeneration to CodeGeneration 2015-05-12 07:45:52 +00:00