mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-21 07:13:13 +01:00
Call llvm_shutdown when shutting down the backend.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user