 // In debug mode keep verbose fatal errors.
 // DEBUG-LABEL: _TF19OptimizationOptions10test_fatalFTSiSi_Si
 // DEBUG-DAG: "Human nature ..."
-// DEBUG-DAG: %[[FATAL_ERROR:.+]] = function_ref @_TFSs18_fatalErrorMessageFTVSs12StaticStringS_S_Su_T_
+// DEBUG-DAG: %[[FATAL_ERROR:.+]] = function_ref @_TTOS_nndd__TFSs18_fatalErrorMessageFTVSs12StaticStringS_S_Su_T_
 // DEBUG: apply %[[FATAL_ERROR]]{{.*}} @noreturn
 // DEBUG: unreachable
 

// In debug mode keep verbose library precondition checks.
// DEBUG-LABEL: _TF19OptimizationOptions23test_precondition_checkFTSiSi_Si
// DEBUG-DAG: "fatal error"
// DEBUG-DAG: %[[FATAL_ERROR:.+]] = function_ref @_TFSs18_fatalErrorMessageFTVSs12StaticStringS_S_Su_T_
// DEBUG: apply %[[FATAL_ERROR]]{{.*}} @noreturn
// DEBUG: unreachable
// DEBUG: return

// RUN: %swift -disable-func-sig-opts -Onone -emit-sil -primary-file %s 2>&1 | FileCheck %s --check-prefix=DEBUG
// RUN: %swift -disable-func-sig-opts -O -emit-sil -primary-file %s 2>&1 | FileCheck %s --check-prefix=RELEASE
// RUN: %swift -disable-func-sig-opts -Ounchecked -emit-sil -primary-file %s 2>&1 | FileCheck %s --check-prefix=UNCHECKED

// REQUIRES: optimized_stdlib

