diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2017-01-02 19:18:08 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2017-01-02 19:18:08 +0000 |
commit | bab175ec4b075c8076ba14c762900392533f6ee4 (patch) | |
tree | 01f4f29419a2cb10abe13c1e63cd2a66068b0137 /test/Modules/ModuleModuleDebugInfo.cpp | |
parent | 8b7a8012d223fac5d17d16a66bb39168a9a1dfc0 (diff) |
Notes
Diffstat (limited to 'test/Modules/ModuleModuleDebugInfo.cpp')
-rw-r--r-- | test/Modules/ModuleModuleDebugInfo.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/Modules/ModuleModuleDebugInfo.cpp b/test/Modules/ModuleModuleDebugInfo.cpp new file mode 100644 index 0000000000000..abc4bfd56b15f --- /dev/null +++ b/test/Modules/ModuleModuleDebugInfo.cpp @@ -0,0 +1,18 @@ +// RUN: rm -rf %t + +// RUN: %clang_cc1 -x objective-c++ -std=c++11 -debug-info-kind=standalone \ +// RUN: -dwarf-ext-refs -fmodules \ +// RUN: -fmodule-format=obj -fimplicit-module-maps -DMODULES \ +// RUN: -triple %itanium_abi_triple \ +// RUN: -fmodules-cache-path=%t %s -I %S/Inputs -I %t -emit-llvm -o - \ +// RUN: | FileCheck %s + +#include "DebugNestedB.h" +AF af; // This type is not anchored in the module. + +// CHECK: !DIDerivedType(tag: DW_TAG_typedef, name: "AF", +// CHECK-SAME: baseType: ![[AF:.*]]) + +// CHECK: ![[AF]] = {{.*}}!DICompositeType(tag: DW_TAG_structure_type, name: "A<F>", +// CHECK-SAME: elements: + |