From 96006e40ce34dcae0cdd3a94b1b329c9ff633831 Mon Sep 17 00:00:00 2001 From: Johannes Stoelp Date: Wed, 22 Sep 2021 22:38:41 +0200 Subject: add llvm shutdown to free allocated memory --- src/main.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 7160e04..be3dede 100644 --- a/src/main.rs +++ b/src/main.rs @@ -98,4 +98,6 @@ fn main() { // Dump all the emitted LLVM IR to stdout. module.dump(); + + llvm::shutdown(); } -- cgit v1.2.3