| 1 |
// XFAIL: target={{.*}}-aix{{.*}} |
| 2 |
// RUN: rm -rf %t |
| 3 |
// RUN: %clang_cc1 -fmodules -fmodule-format=obj -debug-info-kind=limited -dwarf-ext-refs \ |
| 4 |
// RUN: -fimplicit-module-maps -x c -fmodules-cache-path=%t -I %S/Inputs \ |
| 5 |
// RUN: %s -emit-llvm -debugger-tuning=lldb -o - | FileCheck %s |
| 6 |
// |
| 7 |
// RUN: %clang_cc1 -fmodules -fmodule-format=obj -debug-info-kind=limited -dwarf-ext-refs \ |
| 8 |
// RUN: -fimplicit-module-maps -x c -fmodules-cache-path=%t -I %S/Inputs \ |
| 9 |
// RUN: -fmodules-local-submodule-visibility \ |
| 10 |
// RUN: %s -emit-llvm -debugger-tuning=lldb -o - | FileCheck %s |
| 11 |
#include "DebugSubmoduleA.h" |
| 12 |
#include "DebugSubmoduleB.h" |
| 13 |
|
| 14 |
// CHECK: !DICompileUnit |
| 15 |
// CHECK-NOT: !DICompileUnit |
| 16 |
// CHECK: !DIModule(scope: ![[PARENT:.*]], name: "DebugSubmoduleA" |
| 17 |
// CHECK: [[PARENT]] = !DIModule(scope: null, name: "DebugSubmodules" |
| 18 |
// CHECK: !DIModule(scope: ![[PARENT]], name: "DebugSubmoduleB" |
| 19 |
// CHECK: !DICompileUnit({{.*}}splitDebugFilename: {{.*}}DebugSubmodules |
| 20 |
// CHECK-SAME: dwoId: |
| 21 |
// CHECK-NOT: !DICompileUnit |