diff options
| author | David Blaikie <dblaikie@gmail.com> | 2014-04-26 18:25:07 +0000 |
|---|---|---|
| committer | David Blaikie <dblaikie@gmail.com> | 2014-04-26 18:25:07 +0000 |
| commit | 9c34526c172b0c4ff5b864d1796b7d88af40c414 (patch) | |
| tree | 0268fa248094d36ab5bd2755ab46387740e65e42 | |
| parent | e12b49a6e8a9bab4f8f36768c9b2da82712ea6d6 (diff) | |
| download | bcm5719-llvm-9c34526c172b0c4ff5b864d1796b7d88af40c414.tar.gz bcm5719-llvm-9c34526c172b0c4ff5b864d1796b7d88af40c414.zip | |
Include C++ source for debug info test case committed in r207323
llvm-svn: 207324
| -rw-r--r-- | llvm/test/DebugInfo/X86/type_units_with_addresses.ll | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/llvm/test/DebugInfo/X86/type_units_with_addresses.ll b/llvm/test/DebugInfo/X86/type_units_with_addresses.ll index 71a84ba36a6..ff278f66446 100644 --- a/llvm/test/DebugInfo/X86/type_units_with_addresses.ll +++ b/llvm/test/DebugInfo/X86/type_units_with_addresses.ll @@ -6,6 +6,48 @@ ; RUN: llc -split-dwarf=Disable -filetype=obj -O0 -generate-type-units -mtriple=x86_64-unknown-linux-gnu < %s \ ; RUN: | llvm-dwarfdump - | FileCheck --check-prefix=SINGLE %s +; Test case built from: +;int i; +; +;template <int *I> +;struct S1 {}; +; +;S1<&i> s1; +; +;template <int *I> +;struct S2_1 {}; +; +;struct S2 { +; S2_1<&i> s2_1; +;}; +; +;S2 s2; +; +;template <int *I> +;struct S3_1 {}; +; +;struct S3_2 {}; +; +;struct S3 { +; S3_1<&i> s3_1; +; S3_2 s3_2; +;}; +; +;S3 s3; +; +;struct S4_1 {}; +; +;template <int *T> +;struct S4_2 {}; +; +;struct S4 { +; S4_1 s4_1; +; S4_2<&::i> s4_2; +;}; +; +;S4 s4; + + ; CHECK: .debug_info.dwo contents: ; CHECK: DW_TAG_structure_type |

