mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
21 lines
484 B
C++
21 lines
484 B
C++
#pragma once
|
|
|
|
//
|
|
// This file is distributed under the MIT License. See LICENSE.md for details.
|
|
//
|
|
|
|
#include "llvm/Pass.h"
|
|
|
|
/// Remove all temporary changes to the IR introduced to perform stack-related
|
|
/// computations
|
|
struct CleanupStackSizeMarkersPass : public llvm::ModulePass {
|
|
public:
|
|
static char ID;
|
|
|
|
CleanupStackSizeMarkersPass() : llvm::ModulePass(ID) {}
|
|
|
|
void getAnalysisUsage(llvm::AnalysisUsage &AU) const override;
|
|
|
|
bool runOnModule(llvm::Module &M) override;
|
|
};
|