// Ensure that we do not export any weak symbols from the dylibs.
//
// Weak symbols require additional work from the loader to resolve the symbol at
// load time and can cause ODR violations as well as unexpected symbol
// satisfaction because the weak symbol may be used from a separate module.

// NOTE: this test is fragile.  It is dependent on the specifics of the GNU C++
// runtime.  The C++ headers from the runtime explicitly force the weak symbols
// to be publicly visible without allowing the user to control the visibility.
// We explicitly filter out the ones that we see being leaked after manually
// validating that they are being leaked because of the forceful nature of
// libstdc++.

// RUN: %empty-directory(%t)

// RUN: %llvm-nm --defined-only --extern-only %platform-dylib-dir/%target-library-name(swiftCore) \
// RUN:   | grep -v -e _ZNSt6vectorIjSaIjEE6insertEN9__gnu_cxx17__normal_iteratorIPKjS1_EERS4_ \
// RUN:             -e _ZNSt6vectorIjSaIjEE13_M_insert_auxIJRKjEEEvN9__gnu_cxx17__normal_iteratorIPjS1_EEDpOT_ \
// RUN:             -e _ZNSt6vectorIjSaIjEE13_M_insert_auxIJjEEEvN9__gnu_cxx17__normal_iteratorIPjS1_EEDpOT_ \
// RUN:             -e _ZNSt6vectorIjSaIjEE17_M_realloc_insertIJjEEEvN9__gnu_cxx17__normal_iteratorIPjS1_EEDpOT_ \
// RUN:             -e _ZNSt6vectorISsSaISsEE17_M_realloc_insertIJSsEEEvN9__gnu_cxx17__normal_iteratorIPSsS1_EEDpOT_ \
// RUN:             -e _ZNSt6vectorISt10unique_ptrIKvSt8functionIFvPS1_EEESaIS6_EE19_M_emplace_back_auxIJS6_EEEvDpOT_ \
// RUN:             -e _ZNSt6vectorISt10unique_ptrIKvSt8functionIFvPS1_EEESaIS6_EE17_M_realloc_insertIJS6_EEEvN9__gnu_cxx17__normal_iteratorIPS6_S8_EEDpOT_ \
// RUN:             -e _ZNSt10_HashtableImSt4pairIKmSt10unique_ptrIKvSt8functionIFvPS3_EEEESaIS9_ENSt8__detail10_Select1stESt8equal_toImESt4hashImENSB_18_Mod_range_hashingENSB_20_Default_ranged_hashENSB_20_Prime_rehash_policyENSB_17_Hashtable_traitsILb0ELb0ELb1EEEE10_M_emplaceIJS0_ImS8_EEEES0_INSB_14_Node_iteratorIS9_Lb0ELb0EEEbESt17integral_constantIbLb1EEDpOT_ \
// RUN:             -e _ZNSt10_HashtableImSt4pairIKmSt10unique_ptrIKvSt8functionIFvPS3_EEEESaIS9_ENSt8__detail10_Select1stESt8equal_toImESt4hashImENSB_18_Mod_range_hashingENSB_20_Default_ranged_hashENSB_20_Prime_rehash_policyENSB_17_Hashtable_traitsILb0ELb0ELb1EEEE13_M_rehash_auxEmSt17integral_constantIbLb1EE \
// 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 \
// RUN:             -e _ZNSt3_V28__rotateIPcEET_S2_S2_S2_St26random_access_iterator_tag \
// RUN:             -e _ZN9__gnu_cxx12__to_xstringINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcEET_PFiPT0_mPKS8_P13__va_list_tagEmSB_z \
// RUN:             -e _ZN9__gnu_cxx12__to_xstringINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcEET_PFiPT0_mPKS8_St9__va_listEmSB_z \
// RUN:             -e _ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_ \
// RUN:             -e _ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_OS8_ \
// RUN:             -e _ZZNSt19_Sp_make_shared_tag5_S_tiEvE5__tag \
// RUN:             -e _ZSt16__once_call_implISt12_Bind_simpleIFPFvPvEDnEEEvv \
// RUN:             -e '_ZSt16__once_call_implISt12_Bind_simpleIFPFvPvEPA[0-9]\+_cEEEvv' \
// RUN:             -e _ZN9__gnu_cxx12__to_xstringISscEET_PFiPT0_mPKS2_P13__va_list_tagEmS5_z \
// RUN:             -e  _ZZNSt8__detail18__to_chars_10_implIjEEvPcjT_E8__digits \
// RUN:             -e  _ZZNSt8__detail18__to_chars_10_implImEEvPcjT_E8__digits \
// RUN:             -e  _ZNKSt8functionIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmmEEclEmm \
// RUN:             -e  _ZSt9call_onceIRFvPvEJDnEEvRSt9once_flagOT_DpOT0_ \
// RUN:             -e _ZNKSt8functionIFSsmmEEclEmm \
// RUN:             -e _ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_ \
// RUN:             -e _ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EERKS8_OS8_ \
// RUN:             -e _ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EERKS8_SA_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_replaceEmmPKcm \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7reserveEm \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_mutateEmmPKcm \
// RUN:             -e _ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EERKS8_PKS5_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_assignERKS4_ \
// RUN:             -e _ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_ \
// RUN:             -e _ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_RKS8_ \
// RUN:             -e _ZN9__gnu_cxx32__throw_concurrence_unlock_errorEv \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_disjunctEPKc \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12find_last_ofEPKcm \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12find_last_ofEPKcmm \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12find_last_ofERKS4_m \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12find_last_ofEcm \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE13_M_local_dataEv \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE13find_first_ofEPKcm \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE13find_first_ofEPKcmm \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE13find_first_ofERKS4_m \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE13find_first_ofEcm \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE13get_allocatorEv \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE15_M_check_lengthEmmPKc \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE16_M_get_allocatorEv \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE16find_last_not_ofEPKcm \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE16find_last_not_ofEPKcmm \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE16find_last_not_ofERKS4_m \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE16find_last_not_ofEcm \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE17find_first_not_ofEPKcm \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE17find_first_not_ofEPKcmm \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE17find_first_not_ofERKS4_m \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE17find_first_not_ofEcm \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE2atEm \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE3endEv \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4backEv \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4cendEv \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4copyEPcmm \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4dataEv \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEPKcm \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEPKcmm \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findERKS4_m \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEcm \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4rendEv \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5beginEv \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5crendEv \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5frontEv \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5rfindEPKcm \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5rfindEPKcmm \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5rfindERKS4_m \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5rfindEcm \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6cbeginEv \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6rbeginEv \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6substrEmm \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7_M_dataEv \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareERKS4_ \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEmmPKc \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEmmPKcm \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEmmRKS4_ \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEmmRKS4_mm \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7crbeginEv \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE8_M_checkEmPKc \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE8_M_limitEmm \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE8capacityEv \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE8max_sizeEv \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm \
// RUN:             -e _ZNSs6appendEPKcm \
// RUN:             -e _ZNSs6appendEmc \
// RUN:             -e _ZNSs6assignEPKcm \
// RUN:             -e _ZNSs6insertEmPKcm \
// RUN:             -e _ZNSs7reserveEm \
// RUN:             -e _ZNSs9_M_mutateEmmm \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_destroyEm \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_S_compareEmm \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_capacityEm \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderC1EPcOS3_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderC1EPcRKS3_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderC2EPcOS3_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderC2EPcRKS3_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructEmc \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIN9__gnu_cxx17__normal_iteratorIPKcS4_EEEEvT_SB_St20forward_iterator_tag \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIN9__gnu_cxx17__normal_iteratorIPcS4_EEEEvT_SA_St20forward_iterator_tag \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_St20forward_iterator_tag \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE13_M_local_dataEv \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE13_M_set_lengthEm \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE13_S_copy_charsEPcN9__gnu_cxx17__normal_iteratorIPKcS4_EESA_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE13_S_copy_charsEPcN9__gnu_cxx17__normal_iteratorIS5_S4_EES8_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE13_S_copy_charsEPcPKcS7_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE13_S_copy_charsEPcS5_S5_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE13shrink_to_fitEv \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE14_M_replace_auxEmmmc \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE16_M_get_allocatorEv \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE18_M_construct_aux_2Emc \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE2atEm \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE3endEv \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4backEv \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4rendEv \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4swapERS4_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5beginEv \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5clearEv \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5eraseEN9__gnu_cxx17__normal_iteratorIPKcS4_EE \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5eraseEN9__gnu_cxx17__normal_iteratorIPKcS4_EES9_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5eraseEmm \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5frontEv \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6appendEPKc \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6appendEPKcm \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6appendERKS4_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6appendERKS4_mm \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6appendESt16initializer_listIcE \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6appendEmc \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6assignEOS4_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6assignEPKc \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6assignEPKcm \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6assignERKS4_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6assignERKS4_mm \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6assignESt16initializer_listIcE \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6assignEmc \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6insertEN9__gnu_cxx17__normal_iteratorIPKcS4_EEc \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6insertEN9__gnu_cxx17__normal_iteratorIPKcS4_EEmc \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6insertEN9__gnu_cxx17__normal_iteratorIPcS4_EESt16initializer_listIcE \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6insertEmPKc \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6insertEmPKcm \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6insertEmRKS4_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6insertEmRKS4_mm \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6insertEmmc \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6rbeginEv \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6resizeEm \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6resizeEmc \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7_M_dataEPc \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7_S_copyEPcPKcm \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7_S_moveEPcPKcm \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7replaceEN9__gnu_cxx17__normal_iteratorIPKcS4_EES9_NS6_IPcS4_EESB_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7replaceEN9__gnu_cxx17__normal_iteratorIPKcS4_EES9_PcSA_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7replaceEN9__gnu_cxx17__normal_iteratorIPKcS4_EES9_RKS4_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7replaceEN9__gnu_cxx17__normal_iteratorIPKcS4_EES9_S8_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7replaceEN9__gnu_cxx17__normal_iteratorIPKcS4_EES9_S8_S8_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7replaceEN9__gnu_cxx17__normal_iteratorIPKcS4_EES9_S8_m \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7replaceEN9__gnu_cxx17__normal_iteratorIPKcS4_EES9_S9_S9_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7replaceEN9__gnu_cxx17__normal_iteratorIPKcS4_EES9_St16initializer_listIcE \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7replaceEN9__gnu_cxx17__normal_iteratorIPKcS4_EES9_mc \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7replaceEmmPKc \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7replaceEmmPKcm \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7replaceEmmRKS4_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7replaceEmmRKS4_mm \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7replaceEmmmc \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE8_M_eraseEmm \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE8pop_backEv \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_appendEPKcm \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_assignERKS4_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_createERmm \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_lengthEm \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_S_assignEPcmc \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9push_backEc \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1EOS4_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1EOS4_RKS3_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1EPKcRKS3_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1EPKcmRKS3_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1ERKS3_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1ERKS4_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1ERKS4_RKS3_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1ERKS4_mRKS3_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1ERKS4_mm \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1ERKS4_mmRKS3_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1ESt16initializer_listIcERKS3_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1EmcRKS3_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1Ev \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1IN9__gnu_cxx17__normal_iteratorIPcS4_EEvEET_SA_RKS3_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1IPKcvEET_S8_RKS3_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1IPcvEET_S7_RKS3_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2EOS4_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2EOS4_RKS3_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2EPKcRKS3_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2EPKcmRKS3_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS3_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_RKS3_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_mRKS3_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_mm \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_mmRKS3_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ESt16initializer_listIcERKS3_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2EmcRKS3_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IN9__gnu_cxx17__normal_iteratorIPcS4_EEvEET_SA_RKS3_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IPKcvEET_S8_RKS3_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IPcvEET_S7_RKS3_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSESt16initializer_listIcE \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEc \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEPKc \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLERKS4_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLESt16initializer_listIcE \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc \
// RUN:             -e _ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EES5_RKS8_ \
// RUN:             -e _ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_ERKS6_S8_ \
// RUN:             -e _ZNSt6vectorIjSaIjEE12emplace_backIJjEEERjDpOT_ \
// RUN:             -e _ZNSt7__cxx119to_stringEi \
// RUN:             -e _ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_S9_ \
// RUN:             -e _ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EOS6_PKS3_ \
// RUN:             -e _ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EPKS3_OS6_ \
// RUN:             -e _ZNSt6vectorIjSaIjEE17_M_realloc_insertIJRKjEEEvN9__gnu_cxx17__normal_iteratorIPjS1_EEDpOT_ \
// RUN:             -e _ZNSsC2EPKcRKSaIcE \
// RUN:             -e _ZSt27__throw_bad_optional_accessv \
// RUN:             -e _ZNSt8__detail9__variant13__erased_ctorIRSt9monostateOS2_EEvPvS5_ \
// RUN:             -e _ZNSt8__detail9__variant15__erased_assignIRSt9monostateOS2_EEvPvS5_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE15_M_replace_coldEPcmPKcmm \
// RUN:             -e _ZSt12__str_concatINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEET_PKNS6_10value_typeENS6_9size_typeES9_SA_RKNS6_14allocator_typeE \
// RUN:             -e _ZNSt7__cxx119to_stringEl \
// RUN:             -e _ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_appendIJS5_EEEvDpOT_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE22__resize_and_overwriteIZNS_9to_stringEiEUlPcmE_EEvmT_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE22__resize_and_overwriteIZNS_9to_stringEjEUlPcmE_EEvmT_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE22__resize_and_overwriteIZNS_9to_stringEmEUlPcmE_EEvmT_ \
// RUN:             -e _ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_appendIJRKS5_EEEvDpOT_ \
// RUN:             -e _ZNSt6vectorISt10unique_ptrIKvSt8functionIFvPS1_EEESaIS6_EE17_M_realloc_appendIJS6_EEEvDpOT_ \
// RUN:             -e _ZNSt6vectorISt8optionalISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbEESaIS9_EE17_M_realloc_appendIJRKS9_EEEvDpOT_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE22__resize_and_overwriteIZNS_9to_stringElEUlPcmE_EEvmT_ \
// RUN:   > %t/swiftCore-all.txt
// RUN: %llvm-nm --defined-only --extern-only --no-weak %platform-dylib-dir/%target-library-name(swiftCore) > %t/swiftCore-no-weak.txt
// RUN: diff -u %t/swiftCore-all.txt %t/swiftCore-no-weak.txt

// RUN: %llvm-nm --defined-only --extern-only %platform-dylib-dir/%target-library-name(swiftRemoteMirror) \
// RUN:   | grep -v -e _ZNSt6vectorIjSaIjEE6insertEN9__gnu_cxx17__normal_iteratorIPKjS1_EERS4_ \
// RUN:             -e _ZNSt6vectorIjSaIjEE13_M_insert_auxIJRKjEEEvN9__gnu_cxx17__normal_iteratorIPjS1_EEDpOT_ \
// RUN:             -e _ZNSt6vectorIjSaIjEE13_M_insert_auxIJjEEEvN9__gnu_cxx17__normal_iteratorIPjS1_EEDpOT_ \
// RUN:             -e _ZNSt6vectorIjSaIjEE17_M_realloc_insertIJjEEEvN9__gnu_cxx17__normal_iteratorIPjS1_EEDpOT_ \
// RUN:             -e _ZNSt6vectorImSaImEE17_M_realloc_insertIJRKmEEEvN9__gnu_cxx17__normal_iteratorIPmS1_EEDpOT_ \
// RUN:             -e _ZNSt6vectorISsSaISsEE17_M_realloc_insertIJSsEEEvN9__gnu_cxx17__normal_iteratorIPSsS1_EEDpOT_ \
// RUN:             -e _ZNSt6vectorISt10unique_ptrIKvSt8functionIFvPS1_EEESaIS6_EE19_M_emplace_back_auxIJS6_EEEvDpOT_ \
// RUN:             -e _ZNSt6vectorISt10unique_ptrIKvSt8functionIFvPS1_EEESaIS6_EE17_M_realloc_insertIJS6_EEEvN9__gnu_cxx17__normal_iteratorIPS6_S8_EEDpOT_ \
// RUN:             -e _ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_ \
// RUN:             -e _ZNSt10_HashtableImSt4pairIKmSt10unique_ptrIKvSt8functionIFvPS3_EEEESaIS9_ENSt8__detail10_Select1stESt8equal_toImESt4hashImENSB_18_Mod_range_hashingENSB_20_Default_ranged_hashENSB_20_Prime_rehash_policyENSB_17_Hashtable_traitsILb0ELb0ELb1EEEE10_M_emplaceIJS0_ImS8_EEEES0_INSB_14_Node_iteratorIS9_Lb0ELb0EEEbESt17integral_constantIbLb1EEDpOT_ \
// RUN:             -e _ZNSt10_HashtableImSt4pairIKmSt10unique_ptrIKvSt8functionIFvPS3_EEEESaIS9_ENSt8__detail10_Select1stESt8equal_toImESt4hashImENSB_18_Mod_range_hashingENSB_20_Default_ranged_hashENSB_20_Prime_rehash_policyENSB_17_Hashtable_traitsILb0ELb0ELb1EEEE13_M_rehash_auxEmSt17integral_constantIbLb1EE \
// 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 \
// RUN:             -e _ZNSt3_V28__rotateIPcEET_S2_S2_S2_St26random_access_iterator_tag \
// RUN:             -e _ZN9__gnu_cxx12__to_xstringINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcEET_PFiPT0_mPKS8_P13__va_list_tagEmSB_z \
// RUN:             -e _ZN9__gnu_cxx12__to_xstringINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcEET_PFiPT0_mPKS8_St9__va_listEmSB_z \
// RUN:             -e _ZZNSt19_Sp_make_shared_tag5_S_tiEvE5__tag \
// RUN:             -e _ZSt16__once_call_implISt12_Bind_simpleIFPFvPvEDnEEEvv \
// RUN:             -e '_ZSt16__once_call_implISt12_Bind_simpleIFPFvPvEPA[0-9]\+_cEEEvv' \
// RUN:             -e _ZN9__gnu_cxx12__to_xstringISscEET_PFiPT0_mPKS2_P13__va_list_tagEmS5_z \
// RUN:             -e  _ZZNSt8__detail18__to_chars_10_implIjEEvPcjT_E8__digits \
// RUN:             -e  _ZZNSt8__detail18__to_chars_10_implImEEvPcjT_E8__digits \
// RUN:             -e  _ZNKSt8functionIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmmEEclEmm \
// RUN:             -e  _ZSt9call_onceIRFvPvEJDnEEvRSt9once_flagOT_DpOT0_ \
// RUN:             -e _ZNKSt8functionIFSsmmEEclEmm \
// RUN:             -e _ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_ \
// RUN:             -e _ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EERKS8_OS8_ \
// RUN:             -e _ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EERKS8_SA_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_replaceEmmPKcm \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7reserveEm \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_mutateEmmPKcm \
// RUN:             -e _ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EERKS8_PKS5_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_assignERKS4_ \
// RUN:             -e _ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_ \
// RUN:             -e _ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_RKS8_ \
// RUN:             -e _ZN9__gnu_cxx32__throw_concurrence_unlock_errorEv \
// RUN:             -e _ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_ \
// RUN:             -e _ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_OS8_ \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_disjunctEPKc \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12find_last_ofEPKcm \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12find_last_ofEPKcmm \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12find_last_ofERKS4_m \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12find_last_ofEcm \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE13_M_local_dataEv \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE13find_first_ofEPKcm \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE13find_first_ofEPKcmm \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE13find_first_ofERKS4_m \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE13find_first_ofEcm \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE13get_allocatorEv \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE15_M_check_lengthEmmPKc \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE16_M_get_allocatorEv \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE16find_last_not_ofEPKcm \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE16find_last_not_ofEPKcmm \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE16find_last_not_ofERKS4_m \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE16find_last_not_ofEcm \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE17find_first_not_ofEPKcm \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE17find_first_not_ofEPKcmm \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE17find_first_not_ofERKS4_m \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE17find_first_not_ofEcm \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE2atEm \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE3endEv \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4backEv \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4cendEv \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4copyEPcmm \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4dataEv \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEPKcm \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEPKcmm \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findERKS4_m \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEcm \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4rendEv \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5beginEv \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5crendEv \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5frontEv \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5rfindEPKcm \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5rfindEPKcmm \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5rfindERKS4_m \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5rfindEcm \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6cbeginEv \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6rbeginEv \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6substrEmm \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7_M_dataEv \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareERKS4_ \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEmmPKc \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEmmPKcm \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEmmRKS4_ \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEmmRKS4_mm \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7crbeginEv \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE8_M_checkEmPKc \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE8_M_limitEmm \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE8capacityEv \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE8max_sizeEv \
// RUN:             -e _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm \
// RUN:             -e _ZNSs6appendEPKcm \
// RUN:             -e _ZNSs6appendEmc \
// RUN:             -e _ZNSs6assignEPKcm \
// RUN:             -e _ZNSs6insertEmPKcm \
// RUN:             -e _ZNSs7reserveEm \
// RUN:             -e _ZNSs9_M_mutateEmmm \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_destroyEm \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_S_compareEmm \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_capacityEm \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderC1EPcOS3_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderC1EPcRKS3_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderC2EPcOS3_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderC2EPcRKS3_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructEmc \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIN9__gnu_cxx17__normal_iteratorIPKcS4_EEEEvT_SB_St20forward_iterator_tag \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIN9__gnu_cxx17__normal_iteratorIPcS4_EEEEvT_SA_St20forward_iterator_tag \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_St20forward_iterator_tag \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE13_M_local_dataEv \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE13_M_set_lengthEm \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE13_S_copy_charsEPcN9__gnu_cxx17__normal_iteratorIPKcS4_EESA_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE13_S_copy_charsEPcN9__gnu_cxx17__normal_iteratorIS5_S4_EES8_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE13_S_copy_charsEPcPKcS7_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE13_S_copy_charsEPcS5_S5_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE13shrink_to_fitEv \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE14_M_replace_auxEmmmc \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE16_M_get_allocatorEv \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE18_M_construct_aux_2Emc \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE2atEm \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE3endEv \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4backEv \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4rendEv \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4swapERS4_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5beginEv \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5clearEv \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5eraseEN9__gnu_cxx17__normal_iteratorIPKcS4_EE \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5eraseEN9__gnu_cxx17__normal_iteratorIPKcS4_EES9_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5eraseEmm \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5frontEv \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6appendEPKc \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6appendEPKcm \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6appendERKS4_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6appendERKS4_mm \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6appendESt16initializer_listIcE \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6appendEmc \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6assignEOS4_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6assignEPKc \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6assignEPKcm \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6assignERKS4_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6assignERKS4_mm \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6assignESt16initializer_listIcE \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6assignEmc \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6insertEN9__gnu_cxx17__normal_iteratorIPKcS4_EEc \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6insertEN9__gnu_cxx17__normal_iteratorIPKcS4_EEmc \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6insertEN9__gnu_cxx17__normal_iteratorIPcS4_EESt16initializer_listIcE \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6insertEmPKc \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6insertEmPKcm \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6insertEmRKS4_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6insertEmRKS4_mm \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6insertEmmc \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6rbeginEv \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6resizeEm \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6resizeEmc \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7_M_dataEPc \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7_S_copyEPcPKcm \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7_S_moveEPcPKcm \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7replaceEN9__gnu_cxx17__normal_iteratorIPKcS4_EES9_NS6_IPcS4_EESB_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7replaceEN9__gnu_cxx17__normal_iteratorIPKcS4_EES9_PcSA_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7replaceEN9__gnu_cxx17__normal_iteratorIPKcS4_EES9_RKS4_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7replaceEN9__gnu_cxx17__normal_iteratorIPKcS4_EES9_S8_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7replaceEN9__gnu_cxx17__normal_iteratorIPKcS4_EES9_S8_S8_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7replaceEN9__gnu_cxx17__normal_iteratorIPKcS4_EES9_S8_m \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7replaceEN9__gnu_cxx17__normal_iteratorIPKcS4_EES9_S9_S9_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7replaceEN9__gnu_cxx17__normal_iteratorIPKcS4_EES9_St16initializer_listIcE \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7replaceEN9__gnu_cxx17__normal_iteratorIPKcS4_EES9_mc \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7replaceEmmPKc \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7replaceEmmPKcm \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7replaceEmmRKS4_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7replaceEmmRKS4_mm \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7replaceEmmmc \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE8_M_eraseEmm \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE8pop_backEv \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_appendEPKcm \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_assignERKS4_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_createERmm \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_lengthEm \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_S_assignEPcmc \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9push_backEc \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1EOS4_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1EOS4_RKS3_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1EPKcRKS3_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1EPKcmRKS3_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1ERKS3_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1ERKS4_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1ERKS4_RKS3_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1ERKS4_mRKS3_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1ERKS4_mm \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1ERKS4_mmRKS3_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1ESt16initializer_listIcERKS3_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1EmcRKS3_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1Ev \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1IN9__gnu_cxx17__normal_iteratorIPcS4_EEvEET_SA_RKS3_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1IPKcvEET_S8_RKS3_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1IPcvEET_S7_RKS3_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2EOS4_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2EOS4_RKS3_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2EPKcRKS3_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2EPKcmRKS3_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS3_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_RKS3_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_mRKS3_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_mm \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_mmRKS3_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ESt16initializer_listIcERKS3_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2EmcRKS3_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IN9__gnu_cxx17__normal_iteratorIPcS4_EEvEET_SA_RKS3_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IPKcvEET_S8_RKS3_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IPcvEET_S7_RKS3_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSESt16initializer_listIcE \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEc \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEPKc \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLERKS4_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLESt16initializer_listIcE \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc \
// RUN:             -e _ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EES5_RKS8_ \
// RUN:             -e _ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_ERKS6_S8_ \
// RUN:             -e _ZNSs7replaceEmmPKcm \
// RUN:             -e _ZNSsC2EPKcRKSaIcE \
// RUN:             -e _ZSteqIcSt11char_traitsIcESaIcEEbRKSbIT_T0_T1_EPKS3_ \
// RUN:             -e _ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EPKS3_RKS6_ \
// RUN:             -e _ZNSt6vectorIjSaIjEE12emplace_backIJjEEERjDpOT_ \
// RUN:             -e _ZNSt6vectorImSaImEE12emplace_backIJiEEERmDpOT_ \
// RUN:             -e _ZNSt6vectorImSaImEE12emplace_backIJmEEERmDpOT_ \
// RUN:             -e _ZNSt7__cxx119to_stringEi \
// RUN:             -e _ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_S9_ \
// RUN:             -e _ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EOS6_PKS3_ \
// RUN:             -e _ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EPKS3_OS6_ \
// RUN:             -e _ZNSt6vectorIjSaIjEE17_M_realloc_insertIJRKjEEEvN9__gnu_cxx17__normal_iteratorIPjS1_EEDpOT_ \
// RUN:             -e _ZSt27__throw_bad_optional_accessv \
// 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_traitsILb0ELb0ELb1EEEE10_M_emplaceIJS0_ImS8_EEEES0_INSC_14_Node_iteratorISA_Lb0ELb0EEEbESt17integral_constantIbLb1EEDpOT_ \
// 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_traitsILb0ELb0ELb1EEEE10_M_emplaceIJS0_ImS9_EEEES0_INSC_14_Node_iteratorISA_Lb0ELb0EEEbESt17integral_constantIbLb1EEDpOT_ \
// 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 \
// RUN:             -e _ZNSt6vectorISt8optionalISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbEESaIS9_EE17_M_realloc_insertIJRKS9_EEEvN9__gnu_cxx17__normal_iteratorIPS9_SB_EEDpOT_ \
// RUN:             -e _ZSt7nullopt \
// RUN:             -e _ZNSt6vectorISt8optionalISt4pairISsbEESaIS3_EE17_M_realloc_insertIJRKS3_EEEvN9__gnu_cxx17__normal_iteratorIPS3_S5_EEDpOT_ \
// RUN:             -e _ZNSt10_HashtableImSt4pairIKmSt8optionalISsEESaIS4_ENSt8__detail10_Select1stESt8equal_toImESt4hashImENS6_18_Mod_range_hashingENS6_20_Default_ranged_hashENS6_20_Prime_rehash_policyENS6_17_Hashtable_traitsILb0ELb0ELb1EEEE10_M_emplaceIJS0_ImS3_EEEES0_INS6_14_Node_iteratorIS4_Lb0ELb0EEEbESt17integral_constantIbLb1EEDpOT_ \
// RUN:             -e _ZNSt10_HashtableImSt4pairIKmSt8optionalISsEESaIS4_ENSt8__detail10_Select1stESt8equal_toImESt4hashImENS6_18_Mod_range_hashingENS6_20_Default_ranged_hashENS6_20_Prime_rehash_policyENS6_17_Hashtable_traitsILb0ELb0ELb1EEEE10_M_emplaceIJS0_ImSsEEEES0_INS6_14_Node_iteratorIS4_Lb0ELb0EEEbESt17integral_constantIbLb1EEDpOT_ \
// 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 \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE15_M_replace_coldEPcmPKcmm \
// RUN:             -e _ZSt12__str_concatINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEET_PKNS6_10value_typeENS6_9size_typeES9_SA_RKNS6_14allocator_typeE \
// RUN:             -e _ZNSt7__cxx119to_stringEl \
// RUN:             -e _ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_appendIJS5_EEEvDpOT_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE22__resize_and_overwriteIZNS_9to_stringEiEUlPcmE_EEvmT_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE22__resize_and_overwriteIZNS_9to_stringEjEUlPcmE_EEvmT_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE22__resize_and_overwriteIZNS_9to_stringEmEUlPcmE_EEvmT_ \
// RUN:             -e _ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_appendIJRKS5_EEEvDpOT_ \
// RUN:             -e _ZNSt6vectorISt10unique_ptrIKvSt8functionIFvPS1_EEESaIS6_EE17_M_realloc_appendIJS6_EEEvDpOT_ \
// RUN:             -e _ZNSt6vectorISt8optionalISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbEESaIS9_EE17_M_realloc_appendIJRKS9_EEEvDpOT_ \
// RUN:             -e _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE22__resize_and_overwriteIZNS_9to_stringElEUlPcmE_EEvmT_ \
// RUN:   > %t/swiftRemoteMirror-all.txt
// RUN: %llvm-nm --defined-only --extern-only --no-weak %platform-dylib-dir/%target-library-name(swiftRemoteMirror) > %t/swiftRemoteMirror-no-weak.txt
// RUN: diff -u %t/swiftRemoteMirror-all.txt %t/swiftRemoteMirror-no-weak.txt

// NOTE: swiftDemanging is not checked because it is incorporated into
// swiftCore and swiftRemoteMirror.  Both of those checks ensure that the
// symbols are handled properly.

// REQUIRES: OS=linux-gnu
