Go to file
Frederich Munch 8c3735e597 Fix the ManagedStatic list ordering when using DynamicLibrary::addPermanentLibrary.
Summary:
r295737 included a fix for leaking libraries loaded via. DynamicLibrary::addPermanentLibrary.
This created a problem where static constructors in a library could insert llvm::ManagedStatic objects before DynamicLibrary would register it's own ManagedStatic, meaning a crash could occur at shutdown.

r301562 exasperated this problem by cleaning up the DynamicLibrary ManagedStatic during llvm_shutdown.

Reviewers: v.g.vassilev, lhames, efriedma

Reviewed By: efriedma

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D33581

llvm-svn: 304027
2017-05-26 19:43:23 +00:00
clang [scan-build] Patch to scan-build tool to support "--target=<value>" flag 2017-05-26 19:25:32 +00:00
clang-tools-extra [clangd] Attempt to fix tests failing on Windows 2017-05-26 14:34:34 +00:00
compiler-rt [LSAN-ARM] Marking new test unsupported on ARMHF due to bot failures 2017-05-26 17:31:33 +00:00
debuginfo-tests Add a test for PR33166. 2017-05-25 19:33:16 +00:00
libclc math: Implement sinh function 2017-02-25 02:46:53 +00:00
libcxx Workaround debug info bug in Clangs coroutine implementation 2017-05-26 04:09:38 +00:00
libcxxabi [libcxxabi] iconv is not needed for mingw-w64 2017-05-26 19:39:39 +00:00
libunwind [libunwind] Fix executable stack directive on Linux. 2017-05-16 20:18:57 +00:00
lld [lld][ELF]Add option to make .dynamic read only 2017-05-26 19:12:38 +00:00
lldb Fixing Memory Leak 2017-05-26 14:26:14 +00:00
llgo benchcomp: Add a mode for analyzing file sizes. 2017-04-03 19:13:12 +00:00
llvm Fix the ManagedStatic list ordering when using DynamicLibrary::addPermanentLibrary. 2017-05-26 19:43:23 +00:00
openmp Fix for KMP_AFFINITY=respect with multiple processor groups 2017-05-15 19:05:59 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly [ScopInfo] Translate mapToDimension to isl C++ [NFC] 2017-05-26 17:22:03 +00:00