ΒΆllvm::Error writeBinaryStub(
llvm::StringRef FilePath,
const llvm::ifs::IFSStub& Stub,
bool WriteIfChanged = false)
llvm::Error writeBinaryStub(
llvm::StringRef FilePath,
const llvm::ifs::IFSStub& Stub,
bool WriteIfChanged = false)
Description
Attempt to write a binary ELF stub. This function determines appropriate ELFType using the passed ELFTarget and then writes a binary ELF stub to a specified file path.
Declared at: llvm/include/llvm/InterfaceStub/ELFObjHandler.h:37
Parameters
- llvm::StringRef FilePath
- File path for writing the ELF binary.
- const llvm::ifs::IFSStub& Stub
- Source ELFStub to generate a binary ELF stub from.
- bool WriteIfChanged = false
- Whether or not to preserve timestamp if the output stays the same.