fix breakpad converter build

This commit is contained in:
Ryan Fleury
2025-03-25 16:57:33 -07:00
parent ab9885bc7d
commit 42e888d41e
3 changed files with 5 additions and 3 deletions
+2 -2
View File
@@ -815,7 +815,7 @@ rdi_cstring_length(char *cstr)
}
RDI_PROC RDI_U64
rdi_size_from_bytecode_stream(U8 *ptr, U8 *opl)
rdi_size_from_bytecode_stream(RDI_U8 *ptr, RDI_U8 *opl)
{
RDI_U64 bytecode_size = 0;
RDI_U8 *off_first = ptr + sizeof(RDI_LocationKind);
@@ -826,7 +826,7 @@ rdi_size_from_bytecode_stream(U8 *ptr, U8 *opl)
{
break;
}
RDI_U16 ctrlbits = rdi_eval_op_ctrlbits_table[op];
RDI_U32 p_size = RDI_DECODEN_FROM_CTRLBITS(ctrlbits);
bytecode_size += (1 + p_size);
+1 -1
View File
@@ -225,6 +225,6 @@ RDI_PROC RDI_U8 *rdi_name_from_file_path_node(RDI_Parsed *rdi, RDI_FilePathNode
#define rdi_parse__min(a,b) (((a)<(b))?(a):(b))
RDI_PROC RDI_U64 rdi_cstring_length(char *cstr);
RDI_PROC RDI_U64 rdi_size_from_bytecode_stream(U8 *ptr, U8 *opl);
RDI_PROC RDI_U64 rdi_size_from_bytecode_stream(RDI_U8 *ptr, RDI_U8 *opl);
#endif // RDI_FORMAT_PARSE_H
@@ -23,6 +23,7 @@
#include "os/os_inc.h"
#include "async/async.h"
#include "rdi_make/rdi_make_local.h"
#include "rdi_make/rdi_make_help.h"
#include "coff/coff.h"
#include "coff/coff_parse.h"
#include "codeview/codeview.h"
@@ -40,6 +41,7 @@
#include "os/os_inc.c"
#include "async/async.c"
#include "rdi_make/rdi_make_local.c"
#include "rdi_make/rdi_make_help.c"
#include "coff/coff.c"
#include "coff/coff_parse.c"
#include "codeview/codeview.c"