Skip to content

Commit 60a6206

Browse files
committed
x86 thunk
1 parent ed88e1b commit 60a6206

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

crates/symbol-check/src/main.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,11 @@ fn verify_no_duplicates(path: impl AsRef<Path>) {
136136
}
137137

138138
let info = SymInfo::new(&sym, member);
139+
if info.name.starts_with("__x86.get_pc_thunk") {
140+
// x86-32 includes multiple copies of thunk symbols
141+
return;
142+
}
143+
139144
match syms.get(&info.name) {
140145
Some(existing) => {
141146
dups.push(info);

0 commit comments

Comments
 (0)