Merge pull request #3213 from laytan/add-backend-info-to-odin-report

Add backend info to odin report
This commit is contained in:
gingerBill
2024-02-21 12:33:06 +00:00
committed by GitHub
+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();
} }