Adrian Prantl | 835e663 | 2015-09-24 16:10:10 +0000 | [diff] [blame] | 1 | // RUN: rm -rf %t |
Douglas Katzman | 3459ce2 | 2015-10-08 04:24:12 +0000 | [diff] [blame] | 2 | // RUN: %clang_cc1 -fmodules -fmodule-format=obj -debug-info-kind=limited -dwarf-ext-refs \ |
Adrian Prantl | 835e663 | 2015-09-24 16:10:10 +0000 | [diff] [blame] | 3 | // RUN: -fimplicit-module-maps -x c -fmodules-cache-path=%t -I %S/Inputs \ |
David Blaikie | af09f4a | 2016-05-03 23:06:40 +0000 | [diff] [blame] | 4 | // RUN: %s -emit-llvm -debugger-tuning=lldb -o - | FileCheck %s |
Adrian Prantl | 835e663 | 2015-09-24 16:10:10 +0000 | [diff] [blame] | 5 | #include "DebugSubmoduleA.h" |
| 6 | #include "DebugSubmoduleB.h" |
| 7 | |
| 8 | // CHECK: !DICompileUnit |
| 9 | // CHECK-NOT: !DICompileUnit |
| 10 | // CHECK: !DIModule(scope: ![[PARENT:.*]], name: "DebugSubmoduleA" |
| 11 | // CHECK: [[PARENT]] = !DIModule(scope: null, name: "DebugSubmodules" |
| 12 | // CHECK: !DIModule(scope: ![[PARENT]], name: "DebugSubmoduleB" |
| 13 | // CHECK: !DICompileUnit({{.*}}splitDebugFilename: {{.*}}DebugSubmodules |
| 14 | // CHECK-SAME: dwoId: |
| 15 | // CHECK-NOT: !DICompileUnit |