1// RUN: rm -rf %t 2// RUN: %clang_cc1 -fmodules -fmodule-format=obj -debug-info-kind=limited -dwarf-ext-refs \ 3// RUN: -fimplicit-module-maps -fmodules-cache-path=%t -I %S/Inputs \ 4// RUN: %s -mllvm -debug-only=pchcontainer 2>&1 | FileCheck %s 5// REQUIRES: asserts 6 7@import diamond_left; 8 9// Definition of top: 10// CHECK: !DICompileUnit({{.*}}dwoId: 11// CHECK: !DIFile({{.*}}diamond_top.h 12 13// Definition of left: 14// CHECK: !DICompileUnit({{.*}}dwoId: 15// CHECK: !DIFile({{.*}}diamond_left 16// CHECK: !DIImportedEntity(tag: DW_TAG_imported_declaration, 17// CHECK-SAME: entity: ![[MODULE:.*]], line: 3) 18// CHECK: ![[MODULE]] = !DIModule(scope: null, name: "diamond_top" 19 20// Skeleton for top: 21// CHECK: !DICompileUnit({{.*}}splitDebugFilename: {{.*}}diamond_top{{.*}}dwoId: 22 23