std::map<OutputFileType, std::string> outputs = {
{OutputFileType::c_header, file_name + ext.at(OutputFileType::c_header).extension},
{OutputFileType::object, file_name + ext.at(OutputFileType::object).extension},
{OutputFileType::assembly, file_name + ".s"},
{OutputFileType::llvm_assembly, file_name + ".ll"},
};
error.compile_to(outputs, arg_types, fn_name, target);
It seems only assembly is used in testing.
I'm wondering what other files are useful for? I occasionally look at llvm_assembly for debug though.
Could we save test run time in CI by producing only asm file?
It seems only assembly is used in testing.
I'm wondering what other files are useful for? I occasionally look at llvm_assembly for debug though.
Could we save test run time in CI by producing only asm file?