Mercurial > projects > ldc
diff gen/toir.cpp @ 987:73ff89728d85
Call llvm_shutdown when shutting down the backend.
author | Frits van Bommel <fvbommel wxs.nl> |
---|---|
date | Wed, 25 Feb 2009 19:30:06 +0100 |
parents | d96471e8b5e5 |
children | 18ad5601dff7 |
line wrap: on
line diff
--- a/gen/toir.cpp Wed Feb 25 17:34:51 2009 +0100 +++ b/gen/toir.cpp Wed Feb 25 19:30:06 2009 +0100 @@ -37,6 +37,8 @@ #include "gen/functions.h" #include "gen/todebug.h" +#include "llvm/Support/ManagedStatic.h" + ////////////////////////////////////////////////////////////////////////////////////////// DValue* DeclarationExp::toElem(IRState* p) @@ -2775,4 +2777,5 @@ void backend_term() { LLVM_D_FreeRuntime(); + llvm::llvm_shutdown(); }