Skip to content

Commit 7095dff

Browse files
committed
Refactor: added #[no_mangle]
1 parent 5f5afba commit 7095dff

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/test/assembly/asm/s390x-types.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ macro_rules! check_reg { ($func:ident, $ty:ty, $reg:tt, $mov:literal) => {
7575
// systemz: brasl %r14, extern_func@PLT
7676
// systemz: #NO_APP
7777
#[cfg(s390x)]
78+
#[no_mangle]
7879
pub unsafe fn sym_fn_32() {
7980
asm!("brasl %r14, {}", sym extern_func);
8081
}
@@ -83,4 +84,5 @@ pub unsafe fn sym_fn_32() {
8384
// CHECK: #APP
8485
// CHECK: lgr r{{[0-15]+}}, r{{[0-15]+}}
8586
// CHECK: #NO_APP
87+
#[no_mangle]
8688
check!(reg_i32, i32, reg, "lgr");

0 commit comments

Comments
 (0)