Skip to content

Commit 9ce28ed

Browse files
shahmishaldrexin
andauthored
[5.5] Fix one test and disable two tests for Linux aarch64 (#40427)
* Disable lto-autolink test on linux-aarch64 (cherry picked from commit d3ff2b1) * [Linux] XFAIL typeref_decoding_asan test on linux-aarch64 (#37000) ASan seems to cause reflection information to not be extractable from binaries on aarch64. rdar://76975976 (cherry picked from commit 8aae5c5) * [Linux] Add symbol to ignore list in symbol-visibility-linux test (#37001) This test fails on linux-aarch64 because of the additional weak C++ symbol (cherry picked from commit fe7ade8) Co-authored-by: Dario Rexin <[email protected]>
1 parent e06fced commit 9ce28ed

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

test/IRGen/lto_autolink.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,3 +63,4 @@ import AutolinkModuleMapLink
6363
#endif
6464

6565
// UNSUPPORTED: OS=macosx && CPU=arm64
66+
// UNSUPPORTED: OS=linux-gnu && CPU=aarch64

test/Reflection/typeref_decoding_asan.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// XFAIL: OS=linux-gnu && CPU=aarch64
2+
13
// REQUIRES: asan_runtime
24
// RUN: %empty-directory(%t)
35
// RUN: %target-build-swift %S/Inputs/ConcreteTypes.swift %S/Inputs/GenericTypes.swift %S/Inputs/Protocols.swift %S/Inputs/Extensions.swift %S/Inputs/Closures.swift -parse-as-library -emit-module -emit-library -module-name TypesToReflect -sanitize=address -o %t/%target-library-name(TypesToReflect)

test/stdlib/symbol-visibility-linux.test-sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
// RUN: -e _ZNSt10_HashtableImSt4pairIKmSt10unique_ptrIKvSt8functionIFvPS3_EEEESaIS9_ENSt8__detail10_Select1stESt8equal_toImESt4hashImENSB_18_Mod_range_hashingENSB_20_Default_ranged_hashENSB_20_Prime_rehash_policyENSB_17_Hashtable_traitsILb0ELb0ELb1EEEED2Ev \
2525
// RUN: -e _ZNSt3_V28__rotateIPcEET_S2_S2_S2_St26random_access_iterator_tag \
2626
// RUN: -e _ZN9__gnu_cxx12__to_xstringINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcEET_PFiPT0_mPKS8_P13__va_list_tagEmSB_z \
27+
// RUN: -e _ZN9__gnu_cxx12__to_xstringINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcEET_PFiPT0_mPKS8_St9__va_listEmSB_z \
2728
// RUN: -e _ZZNSt19_Sp_make_shared_tag5_S_tiEvE5__tag \
2829
// RUN: -e _ZSt16__once_call_implISt12_Bind_simpleIFPFvPvEDnEEEvv \
2930
// RUN: -e '_ZSt16__once_call_implISt12_Bind_simpleIFPFvPvEPA[0-9]\+_cEEEvv' \
@@ -45,6 +46,7 @@
4546
// RUN: -e _ZNSt10_HashtableImSt4pairIKmSt10unique_ptrIKvSt8functionIFvPS3_EEEESaIS9_ENSt8__detail10_Select1stESt8equal_toImESt4hashImENSB_18_Mod_range_hashingENSB_20_Default_ranged_hashENSB_20_Prime_rehash_policyENSB_17_Hashtable_traitsILb0ELb0ELb1EEEED2Ev \
4647
// RUN: -e _ZNSt3_V28__rotateIPcEET_S2_S2_S2_St26random_access_iterator_tag \
4748
// RUN: -e _ZN9__gnu_cxx12__to_xstringINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcEET_PFiPT0_mPKS8_P13__va_list_tagEmSB_z \
49+
// RUN: -e _ZN9__gnu_cxx12__to_xstringINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcEET_PFiPT0_mPKS8_St9__va_listEmSB_z \
4850
// RUN: -e _ZZNSt19_Sp_make_shared_tag5_S_tiEvE5__tag \
4951
// RUN: -e _ZSt16__once_call_implISt12_Bind_simpleIFPFvPvEDnEEEvv \
5052
// RUN: -e '_ZSt16__once_call_implISt12_Bind_simpleIFPFvPvEPA[0-9]\+_cEEEvv' \

0 commit comments

Comments
 (0)