copyright year

This commit is contained in:
Ryan Fleury
2025-06-02 14:13:57 -07:00
parent cff99f5431
commit 94b969f203
283 changed files with 6600 additions and 6600 deletions
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright (c) 2024 Epic Games Tools
// Copyright (c) Epic Games Tools
// Licensed under the MIT license (https://opensource.org/license/mit/)
#pragma once
+13 -13
View File
@@ -1,4 +1,4 @@
// Copyright (c) 2024 Epic Games Tools
// Copyright (c) Epic Games Tools
// Licensed under the MIT license (https://opensource.org/license/mit/)
#define BUILD_TITLE "Epic Games Tools (R) DWARF Converter"
@@ -62,56 +62,56 @@ entry_point(CmdLine *cmdline)
B32 do_help = (cmd_line_has_flag(cmdline, str8_lit("help")) ||
cmd_line_has_flag(cmdline, str8_lit("h")) ||
cmd_line_has_flag(cmdline, str8_lit("?")));
D2R_User2Convert *user2convert = d2r_user2convert_from_cmdln(arena, cmdline);
// display help
if (do_help) {
fprintf(stderr, "--- rdi_from_dwarf ------------------------------------------------------------\n\n");
fprintf(stderr, "This utility converts debug information from DWARF into the RAD Debug Info\n");
fprintf(stderr, "format. The following arguments are accepted:\n\n");
fprintf(stderr, "--exe:<path> [optional] Specifies the path of the executable filefor which the\n");
fprintf(stderr, " debug info was generated.\n");
fprintf(stderr, "--debug:<path> Specifies the path of the .DEBUG debug info file to\n");
fprintf(stderr, " convert.\n");
fprintf(stderr, "--out:<path> Specifies the path at which the output will be written.\n\n");
if (!do_help) {
for (String8Node *n = user2convert->errors.first; n != 0; n = n->next) {
fprintf(stderr, "error(input): %.*s\n", str8_varg(n->string));
}
}
os_abort(0);
}
RDIM_LocalState *rdim_local_state = rdim_local_init();
ProfBegin("convert");
RDIM_BakeParams *convert2bake = d2r_convert(arena, user2convert);
ProfEnd();
ProfBegin("bake");
RDIM_BakeResults bake2srlz = d2r_bake(rdim_local_state, convert2bake);
ProfEnd();
ProfBegin("serialize bake");
RDIM_SerializedSectionBundle srlz2file = rdim_serialized_section_bundle_from_bake_results(&bake2srlz);
ProfEnd();
RDIM_SerializedSectionBundle srlz2file_compressed = srlz2file;
if (cmd_line_has_flag(cmdline, str8_lit("compress"))) {
ProfBegin("compress");
srlz2file_compressed = d2r_compress(arena, srlz2file);
ProfEnd();
}
ProfBegin("serialize blobs");
String8List blobs = rdim_file_blobs_from_section_bundle(arena, &srlz2file_compressed);
ProfEnd();
ProfBegin("write");
if (!os_write_data_list_to_file_path(user2convert->output_name, blobs)) {
fprintf(stderr, "error(ouptut): unable to write to %.*s\n", str8_varg(user2convert->output_name));