diff options
author | Frederich Munch <colsebas@hotmail.com> | 2017-05-26 19:43:23 +0000 |
---|---|---|
committer | Frederich Munch <colsebas@hotmail.com> | 2017-05-26 19:43:23 +0000 |
commit | 8c3735e59718499023f4281dd3403e3aeeb860d6 (patch) | |
tree | 3315ec8044f3ec99e4b8f6280e35de17a7b3a439 /llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp | |
parent | fedd33f155065c60c1d3b27650b01b9105952308 (diff) | |
download | bcm5719-llvm-8c3735e59718499023f4281dd3403e3aeeb860d6.tar.gz bcm5719-llvm-8c3735e59718499023f4281dd3403e3aeeb860d6.zip |
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
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp')
0 files changed, 0 insertions, 0 deletions