[llvm] r207324 - Include C++ source for debug info test case committed in r207323

David Blaikie dblaikie at gmail.com
Sat Apr 26 11:25:07 PDT 2014


Author: dblaikie
Date: Sat Apr 26 13:25:07 2014
New Revision: 207324

URL: http://llvm.org/viewvc/llvm-project?rev=207324&view=rev
Log:
Include C++ source for debug info test case committed in r207323

Modified:
    llvm/trunk/test/DebugInfo/X86/type_units_with_addresses.ll

Modified: llvm/trunk/test/DebugInfo/X86/type_units_with_addresses.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/X86/type_units_with_addresses.ll?rev=207324&r1=207323&r2=207324&view=diff
==============================================================================
--- llvm/trunk/test/DebugInfo/X86/type_units_with_addresses.ll (original)
+++ llvm/trunk/test/DebugInfo/X86/type_units_with_addresses.ll Sat Apr 26 13:25:07 2014
@@ -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





More information about the llvm-commits mailing list