[DebugInfo] Update tests to expect new LLVM debug format

This commit is contained in:
Felipe de Azevedo Piovezan
2024-07-23 10:54:02 -07:00
parent bd05ae8603
commit a321b0afe0
74 changed files with 353 additions and 355 deletions

View File

@@ -4,7 +4,7 @@ func markUsed<T>(_ t: T) {}
func main() {
// CHECK: define hidden swiftcc void @"$s3any4mainyyF"
// CHECK: call void @llvm.dbg.declare(metadata ptr {{.*}}, metadata ![[S:.*]], metadata !DIExpression()), !dbg ![[DBG:.*]]
// CHECK: #dbg_declare(ptr {{.*}}, ![[S:.*]], !DIExpression(), ![[DBG:.*]])
// CHECK: ![[S]] = !DILocalVariable(name: "s", {{.*}}line: [[@LINE+2]]
// CHECK: ![[DBG]] = !DILocation(line: [[@LINE+1]], column: 7,
var s: Any = "hello world"