mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
ba49937a69
A simple pass that removes the calls to `newpc` marker.
17 lines
351 B
C++
17 lines
351 B
C++
#pragma once
|
|
|
|
//
|
|
// This file is distributed under the MIT License. See LICENSE.md for details.
|
|
//
|
|
|
|
#include "llvm/IR/PassManager.h"
|
|
|
|
class RemoveNewPCCallsPass : public llvm::PassInfoMixin<RemoveNewPCCallsPass> {
|
|
|
|
public:
|
|
RemoveNewPCCallsPass() = default;
|
|
|
|
llvm::PreservedAnalyses
|
|
run(llvm::Function &F, llvm::FunctionAnalysisManager &FAM);
|
|
};
|