MCPcopy Create free account
hub / github.com/Overload-Technologies/Overload / backtrace_alloc

Function backtrace_alloc

Dependencies/tracy/libbacktrace/alloc.cpp:55–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53 report an error. */
54
55void *
56backtrace_alloc (struct backtrace_state *state ATTRIBUTE_UNUSED,
57 size_t size, backtrace_error_callback error_callback,
58 void *data)
59{
60 void *ret;
61
62 ret = tracy_malloc (size);
63 if (ret == NULL)
64 {
65 if (error_callback)
66 error_callback (data, "malloc", errno);
67 }
68 return ret;
69}
70
71/* Free memory. */
72

Callers 15

backtrace_create_stateFunction · 0.85
elf_initialize_syminfoFunction · 0.85
elf_readlinkFunction · 0.85
elf_try_debugfileFunction · 0.85
elf_uncompress_zdebugFunction · 0.85
elf_uncompress_chdrFunction · 0.85
elf_uncompress_lzmaFunction · 0.85
elf_addFunction · 0.85

Calls 1

tracy_mallocFunction · 0.85

Tested by

no test coverage detected