Skip to content

Commit 1f6b4ac

Browse files
committed
Display decoded rlwinm info to hover tooltip
1 parent 8150f98 commit 1f6b4ac

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

objdiff-gui/src/views/function_diff.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,10 @@ fn ins_hover_ui(
149149
ui.colored_label(appearance.highlight_color, "Extern".to_string());
150150
}
151151
}
152+
153+
if let Some(demangled) = rlwinmdec::decode(&ins.formatted) {
154+
ui.colored_label(appearance.highlight_color, &demangled);
155+
}
152156
});
153157
}
154158

0 commit comments

Comments
 (0)