brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.2 KiB · 4e4ba1e Raw
30 lines · plain
1// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}2// RUN: rm -rf %t3// RUN: %clang_cc1 -fmodules -fmodule-format=obj -debug-info-kind=limited -dwarf-ext-refs \4// RUN:     -fimplicit-module-maps -fmodules-cache-path=%t -I %S/Inputs \5// RUN:     %s -mllvm -debug-only=pchcontainer -debugger-tuning=lldb 2>&1 | FileCheck %s6// REQUIRES: asserts7 8@import diamond_left;9 10// Definition of top:11// CHECK: !DICompileUnit({{.*}}dwoId:12// CHECK: !DIFile({{.*}}diamond_top.h13 14// Definition of left:15// CHECK: !DICompileUnit({{.*}}dwoId:16// CHECK: !DIImportedEntity(tag: DW_TAG_imported_declaration,17// CHECK-SAME:              entity: ![[MODULE:.*]], file: ![[LEFT:.*]], line: 3)18// CHECK: ![[MODULE]] = !DIModule(scope: null, name: "diamond_top"19// CHECK: ![[LEFT]] = !DIFile({{.*}}diamond_left.h20 21// Skeleton for top:22// CHECK: !DICompileUnit({{.*}}splitDebugFilename: {{.*}}diamond_top{{.*}}dwoId:23 24// RUN: rm -rf %t25// RUN: %clang_cc1 -fmodules -fmodule-format=obj -debug-info-kind=limited -dwarf-ext-refs \26// RUN:     -fimplicit-module-maps -fmodules-cache-path=%t -I %S/Inputs \27// RUN:     %s -mllvm -debug-only=pchcontainer 2>&1 | FileCheck %s --check-prefix=NOIMPORT28 29// NOIMPORT-NOT: !DIImportedEntity30