dont bother warning about unmatched ifuncs
we added some logs around unmatched ifuncs, but we actually didn't need them. this is because ifuncs can be *new* even if there isn't and old corresponding ifunc.
This commit is contained in:
1 parent
3656cf2ba6
commit
af8d6aed2f
1 file changed
-8
@@ -678,14 +678,6 @@ pub fn create_wasm_jump_table(patch: &Path, cache: &HotpatchModuleCache) -> Resu
|
|||||||
map.insert(*old_idx as u64, *idx as u64);
|
map.insert(*old_idx as u64, *idx as u64);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Warn if there might be a null entry
|
|
||||||
if !name.contains("breaks_if_inlined") {
|
|
||||||
tracing::warn!(
|
|
||||||
"[hotpatching]: Failed to find ifunc entry in old module for function: {}",
|
|
||||||
name
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok(JumpTable {
|
Ok(JumpTable {
|
||||||
|
|||||||
Reference in new issue
Block a user