Skip to content

Commit

Permalink
cgosymbolize: don't use "?" for default symbolization
Browse files Browse the repository at this point in the history
Putting "?" for unknown file & function isn't really any more useful
than leaving them un-set.
  • Loading branch information
nsrip-dd committed Aug 28, 2022
1 parent 87e2ec0 commit 79a9da6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions symbolize_default.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ void cgo_symbolizer(void* p) {

Dl_info dlinfo;
if (dladdr((void *) arg->pc, &dlinfo) == 0) {
arg->file = "?";
arg->func = "?";
arg->entry = 0;
return;
}
arg->file = dlinfo.dli_fname;
Expand Down

0 comments on commit 79a9da6

Please sign in to comment.