Files
revng-revng/include/revng/Recompile/LinkForTranslation.h
Massimo Fioravanti ce4934f48d Introduce revng-link-for-translation
`revng-link-for-translation` provides a standalone tool needed to
perform the final linking stage of the recompilation.
2022-03-28 12:17:05 +02:00

19 lines
682 B
C

#pragma once
//
// This file is distributed under the MIT License. See LICENSE.md for details.
//
#include "revng/Model/Binary.h"
void linkForTranslation(const model::Binary &Model,
llvm::StringRef InputBinaryPath,
llvm::StringRef ObjectFilePath,
llvm::StringRef OutputBinaryPath);
void printLinkForTranslationCommands(llvm::raw_ostream &OS,
const model::Binary &Model,
llvm::StringRef InputBinary,
llvm::StringRef ObjectFile,
llvm::StringRef OutputBinary);