mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-29 16:54:35 +00:00
Fix copy pasta.
This commit is contained in:
parent
4346620afa
commit
710a2a64e4
@ -380,7 +380,7 @@ static int SymbolAddressDataCb( void* data, uintptr_t pc, const char* fn, int li
|
||||
{
|
||||
const char* symloc = nullptr;
|
||||
Dl_info dlinfo;
|
||||
if( dladdr( (void*)ptr, &dlinfo ) ) symloc = dlinfo.dli_fname;
|
||||
if( dladdr( (void*)pc, &dlinfo ) ) symloc = dlinfo.dli_fname;
|
||||
if( !symloc ) symloc = "[unknown]";
|
||||
sym.file = symloc;
|
||||
sym.line = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user