mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Previously, we were always using the first file name as the main source file name in the debug info, which was completely wrong and led to only that file having debug info. <rdar://problem/15786017>, again. Swift SVN r13665
8 lines
694 B
Swift
8 lines
694 B
Swift
// RUN: %swift -primary-file %s %S/Inputs/empty.swift -target x86_64-apple-darwin10 -emit-ir -g -module-name multi | FileCheck %s
|
|
// RUN: %swift %S/Inputs/empty.swift -primary-file %s -target x86_64-apple-darwin10 -emit-ir -g -module-name multi | FileCheck %s
|
|
// RUN: %swift -primary-file %S/Inputs/empty.swift %s -target x86_64-apple-darwin10 -emit-ir -g -module-name multi | FileCheck %s --check-prefix=CHECK-OTHER
|
|
// RUN: %swift %s -primary-file %S/Inputs/empty.swift -target x86_64-apple-darwin10 -emit-ir -g -module-name multi | FileCheck %s --check-prefix=CHECK-OTHER
|
|
|
|
// CHECK: [ DW_TAG_compile_unit ] [{{.*}}multi-file.swift]
|
|
// CHECK-OTHER: [ DW_TAG_compile_unit ] [{{.*}}empty.swift]
|