mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
Add SegregateStackAccesses to pypeline
This commit is contained in:
@@ -88,6 +88,7 @@ static RegisterFunctionPipeRun<PromoteStackPointer> P21;
|
||||
static RegisterFunctionPipeRun<SimplifySwitch> P22;
|
||||
static RegisterFunctionPipeRun<LegacySegregateStackAccesses> P23;
|
||||
static RegisterFunctionPipeRun<MakeSegmentRef> P24;
|
||||
static RegisterFunctionPipeRun<SegregateStackAccesses> P25;
|
||||
|
||||
//
|
||||
// Analyses
|
||||
|
||||
@@ -1631,4 +1631,12 @@ void LegacySegregateStackAccesses::runOnLLVMFunction(const model::Function
|
||||
Impl.epilogue();
|
||||
}
|
||||
|
||||
void SegregateStackAccesses::runOnLLVMFunction(const model::Function &Function,
|
||||
llvm::Function &LLVMFunction) {
|
||||
::SegregateStackAccesses<false> Impl(Binary, *LLVMFunction.getParent());
|
||||
Impl.prologue();
|
||||
Impl.runOnFunction(Function, LLVMFunction);
|
||||
Impl.epilogue();
|
||||
}
|
||||
|
||||
} // namespace revng::pypeline::piperuns
|
||||
|
||||
Reference in New Issue
Block a user