Add support for stpncpy_chk.
[oota-llvm.git] / include / llvm / LinkAllVMCore.h
index 2145bf88c37319a766a2d7fa29e0d1122d856adf..6cf2c4b8aada6bc9a3ad58f28eb4fdf952325c3a 100644 (file)
@@ -32,7 +32,6 @@
 #include "llvm/System/Signals.h"
 #include "llvm/System/TimeValue.h"
 #include "llvm/Support/Dwarf.h"
-#include "llvm/Support/Mangler.h"
 #include "llvm/Support/MathExtras.h"
 #include "llvm/Support/SlowOperationInformer.h"
 #include <cstdlib>
@@ -46,10 +45,9 @@ namespace {
       // to know that getenv() never returns -1, this will do the job.
       if (std::getenv("bar") != (char*) -1)
         return;
-      llvm::Module* M = new llvm::Module("", llvm::getGlobalContext());
+      (void)new llvm::Module("", llvm::getGlobalContext());
       (void)new llvm::UnreachableInst(llvm::getGlobalContext());
       (void)    llvm::createVerifierPass(); 
-      (void) new llvm::Mangler(*M,"");
     }
   } ForceVMCoreLinking;
 }