[PATCH] D46788: llc: don't call llvm_shutdown twice

JF Bastien via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat May 12 12:42:42 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL332174: llc: don't call llvm_shutdown twice (authored by jfb, committed by ).

Repository:
  rL LLVM

https://reviews.llvm.org/D46788

Files:
  llvm/trunk/tools/llc/llc.cpp


Index: llvm/trunk/tools/llc/llc.cpp
===================================================================
--- llvm/trunk/tools/llc/llc.cpp
+++ llvm/trunk/tools/llc/llc.cpp
@@ -274,7 +274,6 @@
   EnableDebugBuffering = true;
 
   LLVMContext Context;
-  llvm_shutdown_obj Y;  // Call llvm_shutdown() on exit.
 
   // Initialize targets first, so that --version shows registered targets.
   InitializeAllTargets();


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46788.146481.patch
Type: text/x-patch
Size: 411 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180512/22163b19/attachment.bin>


More information about the llvm-commits mailing list