[cfe-commits] r171834 - /cfe/trunk/test/CodeGen/debug-info-vector.c

Eric Christopher echristo at gmail.com
Mon Jan 7 17:54:13 PST 2013


Author: echristo
Date: Mon Jan  7 19:54:13 2013
New Revision: 171834

URL: http://llvm.org/viewvc/llvm-project?rev=171834&view=rev
Log:
Add a test to make sure that vector output happens for debug info.

Added:
    cfe/trunk/test/CodeGen/debug-info-vector.c

Added: cfe/trunk/test/CodeGen/debug-info-vector.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/debug-info-vector.c?rev=171834&view=auto
==============================================================================
--- cfe/trunk/test/CodeGen/debug-info-vector.c (added)
+++ cfe/trunk/test/CodeGen/debug-info-vector.c Mon Jan  7 19:54:13 2013
@@ -0,0 +1,7 @@
+// 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: [ DW_TAG_array_type ] [line 0, size 128, align 128, offset 0] [vector] [from int]





More information about the cfe-commits mailing list