aboutsummaryrefslogtreecommitdiff
path: root/test/DebugInfo/X86
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2013-01-08 03:03:14 +0000
committerEric Christopher <echristo@gmail.com>2013-01-08 03:03:14 +0000
commitef24963cbcb068a5796073354fde7b9d25fd17d0 (patch)
tree2572d19ef6dbb94fcaf9374392b3a250aa4e3308 /test/DebugInfo/X86
parent12c0656d2ca49c9ed78b1a041ae55ef0ad9082e2 (diff)
Add the C testcase to this file.
Suggested by Dave Blaikie. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171839 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/DebugInfo/X86')
-rw-r--r--test/DebugInfo/X86/vector.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/DebugInfo/X86/vector.ll b/test/DebugInfo/X86/vector.ll
index 5f46406ed1..7b61e76f18 100644
--- a/test/DebugInfo/X86/vector.ll
+++ b/test/DebugInfo/X86/vector.ll
@@ -1,6 +1,12 @@
; RUN: llc -mtriple=x86_64-linux-gnu -O0 -filetype=obj -o %t %s
; RUN: llvm-dwarfdump %t | FileCheck %s
+; Generated from:
+; clang -g -S -emit-llvm -o foo.ll foo.c
+; typedef int v4si __attribute__((__vector_size__(16)));
+;
+; v4si a
+
@a = common global <4 x i32> zeroinitializer, align 16
!llvm.dbg.cu = !{!0}