From: David Blaikie Date: Sat, 26 Apr 2014 18:25:07 +0000 (+0000) Subject: Include C++ source for debug info test case committed in r207323 X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=d7d65435f7a56d7fbf196a53bc4af6f7496f363e;p=oota-llvm.git Include C++ source for debug info test case committed in r207323 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207324 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/DebugInfo/X86/type_units_with_addresses.ll b/test/DebugInfo/X86/type_units_with_addresses.ll index 71a84ba36a6..ff278f66446 100644 --- a/test/DebugInfo/X86/type_units_with_addresses.ll +++ b/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 +;struct S1 {}; +; +;S1<&i> s1; +; +;template +;struct S2_1 {}; +; +;struct S2 { +; S2_1<&i> s2_1; +;}; +; +;S2 s2; +; +;template +;struct S3_1 {}; +; +;struct S3_2 {}; +; +;struct S3 { +; S3_1<&i> s3_1; +; S3_2 s3_2; +;}; +; +;S3 s3; +; +;struct S4_1 {}; +; +;template +;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