Add backend info to odin report

This commit is contained in:
Laytan Laats
2024-02-20 23:23:56 +01:00
parent 159257597a
commit db87c34613
+6
View File
@@ -1019,6 +1019,10 @@ gb_internal void report_os_info() {
#endif #endif
} }
gb_internal void report_backend_info() {
gb_printf("\tBackend: LLVM %s\n", LLVM_VERSION_STRING);
}
// NOTE(Jeroen): `odin report` prints some system information for easier bug reporting. // NOTE(Jeroen): `odin report` prints some system information for easier bug reporting.
gb_internal void print_bug_report_help() { gb_internal void print_bug_report_help() {
gb_printf("Where to find more information and get into contact when you encounter a bug:\n\n"); gb_printf("Where to find more information and get into contact when you encounter a bug:\n\n");
@@ -1058,4 +1062,6 @@ gb_internal void print_bug_report_help() {
And RAM info. And RAM info.
*/ */
report_ram_info(); report_ram_info();
report_backend_info();
} }