diff options
author | Eric Christopher <echristo@gmail.com> | 2013-01-08 01:54:13 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2013-01-08 01:54:13 +0000 |
commit | 9cf448039201d1d744a11586d9b3f7ffe0fbab81 (patch) | |
tree | b2fce7f4e40012addb05c1d46c0bdc4122074f7b | |
parent | 72a529566ce526f790f1f546bcafff298b9f540e (diff) | |
download | bcm5719-llvm-9cf448039201d1d744a11586d9b3f7ffe0fbab81.tar.gz bcm5719-llvm-9cf448039201d1d744a11586d9b3f7ffe0fbab81.zip |
Add a test to make sure that vector output happens for debug info.
llvm-svn: 171834
-rw-r--r-- | clang/test/CodeGen/debug-info-vector.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/clang/test/CodeGen/debug-info-vector.c b/clang/test/CodeGen/debug-info-vector.c new file mode 100644 index 00000000000..b7135afeeb8 --- /dev/null +++ b/clang/test/CodeGen/debug-info-vector.c @@ -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] |