mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
ce4934f48d
`revng-link-for-translation` provides a standalone tool needed to perform the final linking stage of the recompilation.
19 lines
682 B
C
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);
|