mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
Fix bug where the build id name was generated incorrectly.
2008-05-07 Soren Sandmann Pedersen <sandmann@daimi.au.dk> * binfile.c (get_build_id_file): Fix bug where the build id name was generated incorrectly. Make a copy of the debug name, not the input name. svn path=/trunk/; revision=418
This commit is contained in:
committed by
Søren Sandmann Pedersen
parent
1d1d5dd945
commit
282783bf2b
@ -618,7 +618,13 @@ elf_parser_lookup_symbol (ElfParser *parser,
|
||||
parser->parser, parser->sym_format, "st_size");
|
||||
|
||||
if (size > 0 && result->address + size <= address)
|
||||
{
|
||||
#if 0
|
||||
g_print (" elf: ends at %lx, so rejecting\n",
|
||||
result->address + size);
|
||||
#endif
|
||||
result = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
if (result)
|
||||
|
||||
Reference in New Issue
Block a user