Call llvm_shutdown when shutting down the backend.

This commit is contained in:
Frits van Bommel
2009-02-25 19:30:06 +01:00
parent b3d87205ad
commit f61733cb57

View File

@@ -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_init()
void backend_term()
{
LLVM_D_FreeRuntime();
llvm::llvm_shutdown();
}