We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66da80f commit 67b237eCopy full SHA for 67b237e
objdiff-core/src/diff/data.rs
@@ -37,12 +37,13 @@ pub fn diff_bss_symbol(
37
38
pub fn symbol_name_matches(left_name: &str, right_name: &str) -> bool {
39
// Match Metrowerks symbol$1234 against symbol$2345
40
- if let Some((prefix, suffix)) = left_name.split_once('$') {
+ // and GCC symbol.1234 against symbol.2345
41
+ if let Some((prefix, suffix)) = left_name.split_once(['$', '.']) {
42
if !suffix.chars().all(char::is_numeric) {
43
return false;
44
}
45
right_name
- .split_once('$')
46
+ .split_once(['$', '.'])
47
.is_some_and(|(p, s)| p == prefix && s.chars().all(char::is_numeric))
48
} else {
49
left_name == right_name
0 commit comments