This revision was automatically updated to reflect the committed changes.
Closed by commit rL249916: [TestValueOfVectorVariable] Reduce the vector size
to 4. (authored by sivachandra).
Changed prior to commit:
http://reviews.llvm.org/D13608?vs=36994&id=37006#toc
Repository:
rL LLVM
http://reviews.llvm.org/D13608
Files:
lldb/trunk/test/functionalities/watchpoint/watchpoint_on_vectors/TestValueOfVectorVariable.py
lldb/trunk/test/functionalities/watchpoint/watchpoint_on_vectors/main.c
Index: lldb/trunk/test/functionalities/watchpoint/watchpoint_on_vectors/main.c
===================================================================
--- lldb/trunk/test/functionalities/watchpoint/watchpoint_on_vectors/main.c
+++ lldb/trunk/test/functionalities/watchpoint/watchpoint_on_vectors/main.c
@@ -6,9 +6,11 @@
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
-typedef short v8i16 __attribute__ ((vector_size(16)));
-v8i16 global_vector = {1, 2, 3, 4, 5, 6, 7, 8};
+typedef char v4i8 __attribute__ ((vector_size(4)));
+v4i8 global_vector = {1, 2, 3, 4};
-int main()
+int
+main ()
{
+ return 0;
}
Index:
lldb/trunk/test/functionalities/watchpoint/watchpoint_on_vectors/TestValueOfVectorVariable.py
===================================================================
---
lldb/trunk/test/functionalities/watchpoint/watchpoint_on_vectors/TestValueOfVectorVariable.py
+++
lldb/trunk/test/functionalities/watchpoint/watchpoint_on_vectors/TestValueOfVectorVariable.py
@@ -47,7 +47,7 @@
# Value of a vector variable should be displayed correctly
self.expect("watchpoint set variable global_vector",
WATCHPOINT_CREATED,
- substrs = ['new value: (1, 2, 3, 4, 5, 6, 7, 8)'])
+ substrs = ['new value: (1, 2, 3, 4)'])
if __name__ == '__main__':
import atexit
Index: lldb/trunk/test/functionalities/watchpoint/watchpoint_on_vectors/main.c
===================================================================
--- lldb/trunk/test/functionalities/watchpoint/watchpoint_on_vectors/main.c
+++ lldb/trunk/test/functionalities/watchpoint/watchpoint_on_vectors/main.c
@@ -6,9 +6,11 @@
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
-typedef short v8i16 __attribute__ ((vector_size(16)));
-v8i16 global_vector = {1, 2, 3, 4, 5, 6, 7, 8};
+typedef char v4i8 __attribute__ ((vector_size(4)));
+v4i8 global_vector = {1, 2, 3, 4};
-int main()
+int
+main ()
{
+ return 0;
}
Index: lldb/trunk/test/functionalities/watchpoint/watchpoint_on_vectors/TestValueOfVectorVariable.py
===================================================================
--- lldb/trunk/test/functionalities/watchpoint/watchpoint_on_vectors/TestValueOfVectorVariable.py
+++ lldb/trunk/test/functionalities/watchpoint/watchpoint_on_vectors/TestValueOfVectorVariable.py
@@ -47,7 +47,7 @@
# Value of a vector variable should be displayed correctly
self.expect("watchpoint set variable global_vector", WATCHPOINT_CREATED,
- substrs = ['new value: (1, 2, 3, 4, 5, 6, 7, 8)'])
+ substrs = ['new value: (1, 2, 3, 4)'])
if __name__ == '__main__':
import atexit
_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits