From cc4c889a9943032df23dbacb445e849006572326 Mon Sep 17 00:00:00 2001 From: Ryan Fleury Date: Fri, 21 Mar 2025 11:39:53 -0700 Subject: [PATCH] bump format encoding version; add breakpad converter to ci; remove unused code --- .github/workflows/builds.yml | 22 ++++++++++++---------- src/lib_rdi_format/rdi_format.h | 2 +- src/os/core/os_core.h | 1 - src/rdi_format/rdi_format.mdesk | 2 +- 4 files changed, 14 insertions(+), 13 deletions(-) diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index 74246b0d..29973c03 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml @@ -20,13 +20,15 @@ jobs: shell: cmd run: | call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64 - call build raddbg msvc debug || exit /b 1 - call build rdi_from_pdb msvc debug || exit /b 1 - call build rdi_from_dwarf msvc debug || exit /b 1 - call build rdi_dump msvc debug || exit /b 1 - call build raddbg clang debug || exit /b 1 - call build rdi_from_pdb clang debug || exit /b 1 - call build rdi_from_dwarf clang debug || exit /b 1 - call build rdi_dump clang debug || exit /b 1 - call build radlink msvc debug || exit /b 1 - call build radlink clang debug || exit /b 1 \ No newline at end of file + call build raddbg msvc debug || exit /b 1 + call build raddbg clang debug || exit /b 1 + call build rdi_from_pdb msvc debug || exit /b 1 + call build rdi_from_pdb clang debug || exit /b 1 + call build rdi_from_dwarf msvc debug || exit /b 1 + call build rdi_from_dwarf clang debug || exit /b 1 + call build rdi_dump msvc debug || exit /b 1 + call build rdi_dump clang debug || exit /b 1 + call build radlink msvc debug || exit /b 1 + call build radlink clang debug || exit /b 1 + call build rdi_breakpad_from_pdb msvc debug || exit /b 1 + call build rdi_breakpad_from_pdb clang debug || exit /b 1 \ No newline at end of file diff --git a/src/lib_rdi_format/rdi_format.h b/src/lib_rdi_format/rdi_format.h index ec01827e..365d1f7d 100644 --- a/src/lib_rdi_format/rdi_format.h +++ b/src/lib_rdi_format/rdi_format.h @@ -52,7 +52,7 @@ typedef int64_t RDI_S64; // \"raddbg\0\0\" #define RDI_MAGIC_CONSTANT 0x0000676264646172 -#define RDI_ENCODING_VERSION 10 +#define RDI_ENCODING_VERSION 11 //////////////////////////////////////////////////////////////// //~ Format Types & Functions diff --git a/src/os/core/os_core.h b/src/os/core/os_core.h index 2c07e759..96cf3b52 100644 --- a/src/os/core/os_core.h +++ b/src/os/core/os_core.h @@ -206,7 +206,6 @@ internal U64 os_file_write(OS_Handle file, Rng1U64 rng, void *data); internal B32 os_file_set_times(OS_Handle file, DateTime time); internal FileProperties os_properties_from_file(OS_Handle file); internal OS_FileID os_id_from_file(OS_Handle file); -internal B32 os_rename_file(String8 orig_name, String8 new_name); internal B32 os_file_reserve_size(OS_Handle file, U64 size); internal B32 os_delete_file_at_path(String8 path); internal B32 os_copy_file_path(String8 dst, String8 src); diff --git a/src/rdi_format/rdi_format.mdesk b/src/rdi_format/rdi_format.mdesk index 1842cb38..06d13313 100644 --- a/src/rdi_format/rdi_format.mdesk +++ b/src/rdi_format/rdi_format.mdesk @@ -62,7 +62,7 @@ ""; "// \"raddbg\0\0\""; "#define RDI_MAGIC_CONSTANT 0x0000676264646172"; - "#define RDI_ENCODING_VERSION 10"; + "#define RDI_ENCODING_VERSION 11"; ""; "////////////////////////////////////////////////////////////////"; "//~ Format Types & Functions";