MCPcopy Create free account
hub / github.com/a2flo/floor / compile_program

Function compile_program

src/device/toolchain.cpp:207–212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

205 const bool build_pch);
206
207program_data compile_program(const device& dev,
208 const std::string& code,
209 const compile_options options) {
210 const std::string printable_code { "printf \"" + core::str_hex_escape(code) + "\" | " };
211 return compile_input("-", printable_code, dev, options, false);
212}
213
214program_data compile_program_file(const device& dev,
215 const std::string& filename,

Callers 5

compile_targetFunction · 0.85
add_program_sourceMethod · 0.85
add_program_sourceMethod · 0.85
add_program_sourceMethod · 0.85
add_program_sourceMethod · 0.85

Calls 2

str_hex_escapeFunction · 0.85
compile_inputFunction · 0.85

Tested by

no test coverage detected