Update ggml/src/ggml.c
Co-authored-by: slaren <slarengh@gmail.com>
This commit is contained in:
parent
687f8fdecb
commit
a272a7425d
1 changed files with 1 additions and 1 deletions
|
@ -168,7 +168,7 @@ static void ggml_print_backtrace_symbols(void) {
|
||||||
const int max = 100;
|
const int max = 100;
|
||||||
void* buffer[max];
|
void* buffer[max];
|
||||||
|
|
||||||
struct BacktraceState state = {buffer, buffer + max};
|
struct backtrace_state state = {buffer, buffer + max};
|
||||||
_Unwind_Backtrace(unwind_callback, &state);
|
_Unwind_Backtrace(unwind_callback, &state);
|
||||||
|
|
||||||
int count = state.current - buffer;
|
int count = state.current - buffer;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue