Files
swift-mirror/test/DebugInfo/BridgingHeaderPCH.swift
Adrian Prantl 10004edf49 Leave skeleton CU breadcrumbs fo imported Clang modules in the debug info.
This allows the debugger to look up Clang-imported type definitions in
the correct module.
2019-01-08 16:57:14 -08:00

13 lines
464 B
Swift

// RUN: %target-swift-frontend \
// RUN: -emit-pch %S/Inputs/InlineBridgingHeader.h -o %t.pch
// 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}},
// CHECK: !DICompileUnit(language: DW_LANG_{{ObjC|C99}},
// CHECK-SAME: splitDebugFilename: "{{.*}}.pch"
// CHECK-SAME: dwoId:
Foo()