mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-27 08:46:06 +00:00

Preparation to implement DW_AT_alignment support: - We pass non-zero align value to DIBuilder only when alignment was forced - Modify tests to match this change Differential Revision: https://reviews.llvm.org/D24426 llvm-svn: 284679
12 lines
439 B
C
12 lines
439 B
C
// 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
|
|
// CHECK-SAME: DIFlagVector
|
|
// CHECK: ![[INT]] = !DIBasicType(name: "int"
|