Skip to content

Commit 60145da

Browse files
committed
refactor: improve logging messages
1 parent 054aed0 commit 60145da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dwarf2cpp/visitor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def files(self) -> Generator[tuple[str, dict[int, list[Object]]], None, None]:
106106
pbar.set_description_str(f"Skipping compile unit {compilation_dir}")
107107
continue
108108

109-
rel_path = posixpath.relpath(self._base_dir, compilation_dir)
109+
rel_path = posixpath.relpath(cu_die.short_name, self._base_dir)
110110
pbar.set_description_str(f"Visiting compile unit {rel_path}")
111111
self.visit(cu_die)
112112

0 commit comments

Comments
 (0)