22 lines · c
1// XFAIL: 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 -x c -fmodules-cache-path=%t -I %S/Inputs \5// RUN: %s -emit-llvm -debugger-tuning=lldb -o - | FileCheck %s6//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 %s11#include "DebugSubmoduleA.h"12#include "DebugSubmoduleB.h"13 14// CHECK: !DICompileUnit15// CHECK-NOT: !DICompileUnit16// 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: {{.*}}DebugSubmodules20// CHECK-SAME: dwoId:21// CHECK-NOT: !DICompileUnit22