aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/debug-info-vector.c
blob: 6b27573578c28dfaedffb550e3ff51193ae08a0e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
// RUN: %clang_cc1 -emit-llvm -debug-info-kind=limited %s -o - | FileCheck %s
typedef int v4si __attribute__((__vector_size__(16)));

v4si a;

// Test that we get an array type that's also a vector out of debug.
// CHECK: !DICompositeType(tag: DW_TAG_array_type,
// CHECK-SAME:             baseType: ![[INT:[0-9]+]]
// CHECK-SAME:             size: 128, align: 128
// CHECK-SAME:             DIFlagVector
// CHECK: ![[INT]] = !DIBasicType(name: "int"