Browse Source

print more info

master
CismonX 1 year ago
parent
commit
15a7173de0
No known key found for this signature in database GPG Key ID: 315D6652268C5007
  1. 2
      src/runtime.c
  2. 1
      src/u6ac.c

2
src/runtime.c

@ -141,7 +141,7 @@ u6a_runtime_info(FILE* restrict input_stream, const char* file_name) {
printf("Size of section .text (bytes): 0x%08X\n", ntohl(header.prog.text_size));
printf("Size of section .rodata (bytes): 0x%08X\n", ntohl(header.prog.rodata_size));
} else {
printf("Program header unrecognizable (%d bytes)", header.file.prog_header_size);
printf("Program header unrecognizable (%d bytes)\n", header.file.prog_header_size);
}
}
return true;

1
src/u6ac.c

@ -213,6 +213,7 @@ main(int argc, char** argv) {
goto terminate;
}
u6a_codegen_init(options.output_file, options.output_file_name, options.optimize_const, options.dump_mnemonics);
u6a_info_verbose(info_toplevel, "writing to %s", options.output_file_name);
if (UNLIKELY(!u6a_write_prefix(options.output_file_prefix))) {
exit_code = EC_ERR_CODEGEN;
goto terminate;

Loading…
Cancel
Save