1
0
mirror of https://github.com/wolfpld/tracy synced 2025-04-29 04:23:51 +00:00

Pass filename to elf_open_debugfile_by_buildid.

This is not needed for anything at this moment, but it will become quite useful
soon.
This commit is contained in:
Bartosz Taudul 2022-05-01 12:21:51 +02:00
parent 89778fee9a
commit b4343d58f1
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -874,6 +874,7 @@ elf_readlink (struct backtrace_state *state, const char *filename,
static int
elf_open_debugfile_by_buildid (struct backtrace_state *state,
const char *buildid_data, size_t buildid_size,
const char *filename,
backtrace_error_callback error_callback,
void *data)
{
@ -4443,7 +4444,7 @@ elf_add (struct backtrace_state *state, const char *filename, int descriptor,
int d;
d = elf_open_debugfile_by_buildid (state, buildid_data, buildid_size,
error_callback, data);
filename, error_callback, data);
if (d >= 0)
{
int ret;