mirror of
https://github.com/apple/swift.git
synced 2026-06-20 15:42:51 +02:00
a3e5f0bcef
This is to keep clang module cache hashes consistent throughout the build and avoid inconsistent hash errors due to the CodeGenOpts changing at the IRGen phase in the middle of a build. https://github.com/swiftlang/swift/issues/86116
11 lines
434 B
Swift
11 lines
434 B
Swift
// RUN: %target-swift-frontend \
|
|
// RUN: -emit-pch %S/Inputs/InlineBridgingHeader.h -o %t.pch -g
|
|
// RUN: %target-swift-frontend \
|
|
// RUN: -import-objc-header %t.pch -emit-ir -g %s -o - | %FileCheck %s
|
|
|
|
// CHECK: !DICompileUnit(language: DW_LANG_Swift
|
|
// CHECK: !DICompileUnit(language: DW_LANG_{{ObjC|C99|C11}},
|
|
// CHECK: !DICompileUnit(language: DW_LANG_{{ObjC|C99|C11}}{{.*}}splitDebugFilename: "{{.*}}.pch",{{.*}}dwoId:
|
|
|
|
Foo()
|