Make minor revisions to previous change

This commit is contained in:
Justine Tunney 2021-06-30 10:45:27 -07:00
parent a68cc690ff
commit 014d4bdab2
4 changed files with 6 additions and 8 deletions

View file

@ -125,11 +125,11 @@ static int PrintBacktraceUsingAddr2line(int fd, const struct StackFrame *bp) {
}
static int PrintBacktrace(int fd, const struct StackFrame *bp) {
/* if (!IsTiny()) { */
if (PrintBacktraceUsingAddr2line(fd, bp) != -1) {
return 0;
if (!IsTiny()) {
if (PrintBacktraceUsingAddr2line(fd, bp) != -1) {
return 0;
}
}
/* } */
return PrintBacktraceUsingSymbols(fd, bp, GetSymbolTable());
}