aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/debug-info-vector.c
blob: 1075643cd602d8abd79040021cfef4a74e52dc61 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
// RUN: %clang_cc1 -emit-llvm -g %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"