ABI: Change the mangling prefix from _T0 to $S

This commit is contained in:
Erik Eckstein
2018-01-05 18:14:45 -08:00
parent 859b58e28e
commit cd3d50a5d9
751 changed files with 9158 additions and 9158 deletions

View File

@@ -33,8 +33,8 @@ public func mangle(s: [UnicodeScalar]) -> [UnicodeScalar] {
// which shares the storage with the expression in the switch statement. Make
// sure we emit a dbg.value once per basic block.
// CHECK: define {{.*}}@_T011patternvars6mangle1sSayAA13UnicodeScalarVGAF_tFA2EcfU_
// CHECK: %[[VAL:[0-9]+]] = call swiftcc i32 @_T011patternvars13UnicodeScalarV5values6UInt32Vvg(i32 %0)
// CHECK: define {{.*}}@"$S11patternvars6mangle1sSayAA13UnicodeScalarVGAF_tFA2EcfU_"
// CHECK: %[[VAL:[0-9]+]] = call swiftcc i32 @"$S11patternvars13UnicodeScalarV5values6UInt32Vvg"(i32 %0)
// CHECK-NEXT: call void @llvm.dbg.value(metadata i32 %[[VAL]]
// CHECK: ; <label>
// CHECK: call void @llvm.dbg.value(metadata i32 %[[VAL]]