From f7eb7ef2caa3236487980d0127998ab03bafb42d Mon Sep 17 00:00:00 2001 From: Vadim Petrochenkov Date: Sat, 27 Aug 2022 16:19:56 +0300 Subject: [PATCH] Update tests for UEFI and AVR --- src/test/codegen/abi-efiapi.rs | 2 +- src/test/codegen/avr/avr-func-addrspace.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/codegen/abi-efiapi.rs b/src/test/codegen/abi-efiapi.rs index b4fda5f8c8428..4dc9d183b0b20 100644 --- a/src/test/codegen/abi-efiapi.rs +++ b/src/test/codegen/abi-efiapi.rs @@ -24,7 +24,7 @@ trait Freeze { } #[lang="copy"] trait Copy { } -//x86_64: define win64cc void @has_efiapi +//x86_64: define dso_local win64cc void @has_efiapi //i686: define void @has_efiapi //aarch64: define dso_local void @has_efiapi //arm: define dso_local void @has_efiapi diff --git a/src/test/codegen/avr/avr-func-addrspace.rs b/src/test/codegen/avr/avr-func-addrspace.rs index 530164edd4682..a038dfe76f707 100644 --- a/src/test/codegen/avr/avr-func-addrspace.rs +++ b/src/test/codegen/avr/avr-func-addrspace.rs @@ -77,7 +77,7 @@ fn update_bar_value() { } } -// CHECK: define void @test(){{.+}}addrspace(1) +// CHECK: define dso_local void @test(){{.+}}addrspace(1) #[no_mangle] pub extern "C" fn test() { let mut buf = 7;