Files
swift-mirror/test/DebugInfo/self-nostorage.swift
Erik Eckstein 39bb14b094 change mangling prefix from $S to $s
This is the final ABI mangling prefix

rdar://problem/38471478
2018-09-19 13:55:11 -07:00

11 lines
353 B
Swift

// RUN: %target-swift-frontend -primary-file %s -emit-ir -g -o - | %FileCheck %s
public struct S {
func f() {
// CHECK: define {{.*}}$s4main1SV1fyyF
// CHECK: call void @llvm.dbg.value(metadata i{{.*}} 0,
// CHECK-SAME: metadata ![[SELF:[0-9]+]]
// CHECK: ![[SELF]] = !DILocalVariable(name: "self", arg: 1,
}
}