Adrian Prantl | 9402cef | 2015-09-20 16:51:35 +0000 | [diff] [blame^] | 1 | // RUN: rm -rf %t |
| 2 | // RUN: %clang_cc1 -fmodules -fmodule-format=obj -g -dwarf-ext-refs \ |
| 3 | // RUN: -fimplicit-module-maps -x c -fmodules-cache-path=%t -I %S/Inputs \ |
| 4 | // RUN: %s -mllvm -debug-only=pchcontainer 2>&1 | FileCheck %s |
| 5 | #include "DebugSubmoduleA.h" |
| 6 | |
| 7 | // CHECK: !DICompositeType(tag: DW_TAG_structure_type, name: "A", |
| 8 | // CHECK-SAME: scope: ![[SUBMODULEA:[0-9]+]] |
| 9 | // CHECK: ![[SUBMODULEA]] = !DIModule( |
| 10 | // CHECK-SAME: name: "DebugSubmodules.DebugSubmoduleA", |
| 11 | |
| 12 | // CHECK: !DICompositeType(tag: DW_TAG_structure_type, name: "B", |
| 13 | // CHECK-SAME: scope: ![[SUBMODULEB:[0-9]+]] |
| 14 | // CHECK: ![[SUBMODULEB]] = !DIModule( |
| 15 | // CHECK-SAME: name: "DebugSubmodules.DebugSubmoduleB", |