treelite
src
compiler
elf
elf_formatter.h
Go to the documentation of this file.
1
7
#ifndef TREELITE_COMPILER_ELF_ELF_FORMATTER_H_
8
#define TREELITE_COMPILER_ELF_ELF_FORMATTER_H_
9
10
#include <vector>
11
12
namespace
treelite
{
13
namespace
compiler {
14
19
void
AllocateELFHeader
(std::vector<char>* elf);
30
void
FormatArrayAsELF
(std::vector<char>* elf);
31
32
}
// namespace compiler
33
}
// namespace treelite
34
35
#endif // TREELITE_COMPILER_ELF_ELF_FORMATTER_H_
treelite
Definition:
annotator.h:14
treelite::compiler::AllocateELFHeader
void AllocateELFHeader(std::vector< char > *elf_buffer)
Pre-allocate space in a buffer to fit an ELF header.
Definition:
elf_formatter.cc:209
treelite::compiler::FormatArrayAsELF
void FormatArrayAsELF(std::vector< char > *elf_buffer)
Format a relocatable ELF object file containing a constant, read-only array.
Definition:
elf_formatter.cc:213
Generated by
1.8.13