Skip to content

Commit 5efd880

Browse files
committed
[Test] Add another C++ stdlib symbol to the Linux symbol visibility test
`_ZNSt6vectorISt8optionalISt4pairISsbEESaIS3_EE17_M_realloc_insertIJRKS3_EEEvN9__gnu_cxx17__normal_iteratorIPS3_S5_EEDpOT_` ``` void std::vector<std::optional<std::pair<std::string, bool> >, std::allocator<std::optional<std::pair<std::string, bool> > > >::_M_realloc_insert<std::optional<std::pair<std::string, bool> > const&>(__gnu_cxx::__normal_iterator<std::optional<std::pair<std::string, bool> >*, std::vector<std::optional<std::pair<std::string, bool> >, std::allocator<std::optional<std::pair<std::string, bool> > > > >, std::optional<std::pair<std::string, bool> > const&) ```
1 parent bb6de77 commit 5efd880

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -508,6 +508,7 @@
508508
// RUN: -e _ZNSt10_HashtableImSt4pairIKmSt8optionalINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEESaISA_ENSt8__detail10_Select1stESt8equal_toImESt4hashImENSC_18_Mod_range_hashingENSC_20_Default_ranged_hashENSC_20_Prime_rehash_policyENSC_17_Hashtable_traitsILb0ELb0ELb1EEEE13_M_rehash_auxEmSt17integral_constantIbLb1EE \
509509
// RUN: -e _ZNSt6vectorISt8optionalISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbEESaIS9_EE17_M_realloc_insertIJRKS9_EEEvN9__gnu_cxx17__normal_iteratorIPS9_SB_EEDpOT_ \
510510
// RUN: -e _ZSt7nullopt \
511+
// RUN: -e _ZNSt6vectorISt8optionalISt4pairISsbEESaIS3_EE17_M_realloc_insertIJRKS3_EEEvN9__gnu_cxx17__normal_iteratorIPS3_S5_EEDpOT_ \
511512
// RUN: > %t/swiftRemoteMirror-all.txt
512513
// RUN: %llvm-nm --defined-only --extern-only --no-weak %platform-dylib-dir/%target-library-name(swiftRemoteMirror) > %t/swiftRemoteMirror-no-weak.txt
513514
// RUN: diff -u %t/swiftRemoteMirror-all.txt %t/swiftRemoteMirror-no-weak.txt

0 commit comments

Comments
 (0)