HEBench
|
Classes | |
struct | ReportCompilerConfigC |
Configuration for a compiler run. More... | |
struct | ReportCompilerConfig |
Functions | |
int32_t | compile (const ReportCompilerConfigC *p_config, char *s_error, size_t s_error_size) |
Runs the compiler using the specified configuration. More... | |
std::vector< std::filesystem::path > | extractInputFiles (const std::string &filename) |
struct hebench::ReportGen::Compiler::ReportCompilerConfigC |
Configuration for a compiler run.
Definition at line 21 of file hebench_report_compiler.h.
int32_t hebench::ReportGen::Compiler::compile | ( | const ReportCompilerConfigC * | p_config, |
char * | s_error, | ||
size_t | s_error_size | ||
) |
Runs the compiler using the specified configuration.
[in] | p_config | Configuration for the compiler execution. |
[out] | s_error | Pointer to buffer to receive any error message. If null , error messages are ignored. |
[in] | s_error_size | Size, in bytes, of the memory pointed to by s_error . If zero, error messages are ignored. |
If an error occurs, the error message will be saved in the provided buffer s_error
. This function will attempt to copy as many bytes from the error message into the buffer. Otherwise, the contents of the buffer will remain unchanged. The buffer can null
or the number of bytes pointed to can be zero to indicate that caller is ignoring any error messages.
Definition at line 136 of file hebench_report_compiler.cpp.
std::vector<std::filesystem::path> hebench::ReportGen::Compiler::extractInputFiles | ( | const std::string & | filename | ) |
Definition at line 77 of file hebench_report_compiler.cpp.