diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/libmach/dwarfdump.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libmach/dwarfdump.c b/src/libmach/dwarfdump.c index b894a060..1bb05073 100644 --- a/src/libmach/dwarfdump.c +++ b/src/libmach/dwarfdump.c @@ -81,6 +81,9 @@ main(int argc, char **argv) if(s.attrs.have.lowpc){ if(dwarfpctoline(d, s.attrs.lowpc, &cdir, &dir, &file, &line, &mtime, &length) < 0) print("\tcould not find source: %r\n"); + else if(dir == nil) + print("\t%s/%s:%lud mtime=%lud length=%lud\n", + cdir, file, line, mtime, length); else print("\t%s/%s/%s:%lud mtime=%lud length=%lud\n", cdir, dir, file, line, mtime, length); |