Skip to content

Commit

Permalink
Enable arm inlining check.
Browse files Browse the repository at this point in the history
  • Loading branch information
hkratz committed Sep 19, 2021
1 parent 12d2c24 commit 6b91a5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/stdarch-test/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ pub fn assert(shim_addr: usize, fnname: &str, expected: &str) {
// failed inlining something.
s[0].starts_with("call ") && s[1].starts_with("pop") // FIXME: original logic but does not match comment
})
} else if cfg!(target_arch = "aarch64") {
} else if cfg!(target_arch = "aarch64") || cfg!(target_arch = "arm") {
instrs.iter().any(|s| s.starts_with("bl "))
} else {
// FIXME: Add detection for other archs
Expand Down

0 comments on commit 6b91a5f

Please sign in to comment.