Skip to content

Commit 2fcadfe

Browse files
committed
Add a test to make sure that vector output happens for debug info.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171834 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent cbb99ef commit 2fcadfe

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

test/CodeGen/debug-info-vector.c

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// RUN: %clang_cc1 -emit-llvm -g %s -o - | FileCheck %s
2+
typedef int v4si __attribute__((__vector_size__(16)));
3+
4+
v4si a;
5+
6+
// Test that we get an array type that's also a vector out of debug.
7+
// CHECK: [ DW_TAG_array_type ] [line 0, size 128, align 128, offset 0] [vector] [from int]

0 commit comments

Comments
 (0)