Skip to content

Commit b492b71

Browse files
committed
Include std::to_string(long) in exported symbols
The GNU C++ runtimes added yet another symbol to our exported symbols causing this test to fail. Adding it now: _ZNSt7__cxx119to_stringEl rdar://142782295
1 parent 01faf1f commit b492b71

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,7 @@
256256
// RUN: -e _ZNSt8__detail9__variant15__erased_assignIRSt9monostateOS2_EEvPvS5_ \
257257
// RUN: -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE15_M_replace_coldEPcmPKcmm \
258258
// RUN: -e _ZSt12__str_concatINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEET_PKNS6_10value_typeENS6_9size_typeES9_SA_RKNS6_14allocator_typeE \
259+
// RUN: -e _ZNSt7__cxx119to_stringEl \
259260
// RUN: > %t/swiftCore-all.txt
260261
// RUN: %llvm-nm --defined-only --extern-only --no-weak %platform-dylib-dir/%target-library-name(swiftCore) > %t/swiftCore-no-weak.txt
261262
// RUN: diff -u %t/swiftCore-all.txt %t/swiftCore-no-weak.txt
@@ -516,6 +517,7 @@
516517
// RUN: -e _ZNSt10_HashtableImSt4pairIKmSt8optionalISsEESaIS4_ENSt8__detail10_Select1stESt8equal_toImESt4hashImENS6_18_Mod_range_hashingENS6_20_Default_ranged_hashENS6_20_Prime_rehash_policyENS6_17_Hashtable_traitsILb0ELb0ELb1EEEE13_M_rehash_auxEmSt17integral_constantIbLb1EE \
517518
// RUN: -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE15_M_replace_coldEPcmPKcmm \
518519
// RUN: -e _ZSt12__str_concatINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEET_PKNS6_10value_typeENS6_9size_typeES9_SA_RKNS6_14allocator_typeE \
520+
// RUN: -e _ZNSt7__cxx119to_stringEl \
519521
// RUN: > %t/swiftRemoteMirror-all.txt
520522
// RUN: %llvm-nm --defined-only --extern-only --no-weak %platform-dylib-dir/%target-library-name(swiftRemoteMirror) > %t/swiftRemoteMirror-no-weak.txt
521523
// RUN: diff -u %t/swiftRemoteMirror-all.txt %t/swiftRemoteMirror-no-weak.txt

0 commit comments

Comments
 (0)