Skip to content

Commit

Permalink
fix interfaces to newest LLVM
Browse files Browse the repository at this point in the history
  • Loading branch information
Hatsunespica committed Jun 25, 2024
1 parent 51da055 commit a5482b2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tools/alive-mutate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include "llvm/IR/LegacyPassManager.h"
#include "llvm/IR/Module.h"
#include "llvm/Passes/PassBuilder.h"
#include "llvm/Support/PrettyStackTrace.h"
#include "llvm/Support/InitLLVM.h"
#include "llvm/Support/Signals.h"
#include "llvm/TargetParser/Triple.h"
#include "llvm/Transforms/Utils/Cloning.h"
Expand Down Expand Up @@ -246,9 +246,8 @@ bool verifyInput(std::shared_ptr<llvm::Module> &pm);

int main(int argc, char **argv) {
llvm::sys::PrintStackTraceOnErrorSignal(argv[0]);
llvm::PrettyStackTraceProgram X(argc, argv);
llvm::InitLLVM X(argc, argv);
llvm::EnableDebugBuffering = true;
llvm::llvm_shutdown_obj llvm_shutdown; // Call llvm_shutdown() on exit.
llvm::LLVMContext Context;

std::string Usage =
Expand Down

0 comments on commit a5482b2

Please sign in to comment.