Skip to content

Commit

Permalink
stacktrace: Add a note for TODO item
Browse files Browse the repository at this point in the history
Signed-off-by: Honggyu Kim <[email protected]>
  • Loading branch information
honggyukim authored and Bojun-Seo committed Dec 3, 2022
1 parent 1878d3d commit e63afd3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions stacktrace.cc
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,8 @@ static void print_backtrace_symbol(int count, void *addr)
free(symbol);
}
else {
// TODO: It'd be better to print related address based on its
// load address. It needs to calculate the load base.
pr_out("%s (+%p)\n", dlip.dli_fname, addr);
}
}
Expand Down

0 comments on commit e63afd3

Please sign in to comment.