[Lldb-commits] [lldb] r213763 - Add kalimba architecture checking to TestImageListMultiArchitecture

Todd Fiala todd.fiala at gmail.com
Wed Jul 23 08:16:36 PDT 2014


Author: tfiala
Date: Wed Jul 23 10:16:35 2014
New Revision: 213763

URL: http://llvm.org/viewvc/llvm-project?rev=213763&view=rev
Log:
Add kalimba architecture checking to TestImageListMultiArchitecture

Verify that ObjectFileELF's kalimba detection works regardless
of the host platform.

Change by Matthew Gardiner.

Added:
    lldb/trunk/test/functionalities/object-file/bin/hello-unknown-kalimba_arch4-kcc-36   (with props)
    lldb/trunk/test/functionalities/object-file/bin/hello.c
Modified:
    lldb/trunk/test/functionalities/object-file/TestImageListMultiArchitecture.py

Modified: lldb/trunk/test/functionalities/object-file/TestImageListMultiArchitecture.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/object-file/TestImageListMultiArchitecture.py?rev=213763&r1=213762&r2=213763&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/object-file/TestImageListMultiArchitecture.py (original)
+++ lldb/trunk/test/functionalities/object-file/TestImageListMultiArchitecture.py Wed Jul 23 10:16:35 2014
@@ -27,6 +27,7 @@ class TestImageListMultiArchitecture(Tes
             "hello-netbsd-6.1-x86_64-gcc-4.5.3": re.compile(r"x86_64-(unknown)?-netbsd x86_64"),
             "hello-ubuntu-14.04-x86_64-gcc-4.8.2": re.compile(r"x86_64-(unknown)?-linux x86_64"),
             "hello-ubuntu-14.04-x86_64-clang-3.5pre": re.compile(r"x86_64-(unknown)?-linux x86_64"),
+            "hello-unknown-kalimba_arch4-kcc-36": re.compile(r"kalimba-csr-unknown kalimba"),
         }
 
         for image_name in images:

Added: lldb/trunk/test/functionalities/object-file/bin/hello-unknown-kalimba_arch4-kcc-36
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/object-file/bin/hello-unknown-kalimba_arch4-kcc-36?rev=213763&view=auto
==============================================================================
Binary file - no diff available.

Propchange: lldb/trunk/test/functionalities/object-file/bin/hello-unknown-kalimba_arch4-kcc-36
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: lldb/trunk/test/functionalities/object-file/bin/hello.c
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/object-file/bin/hello.c?rev=213763&view=auto
==============================================================================
--- lldb/trunk/test/functionalities/object-file/bin/hello.c (added)
+++ lldb/trunk/test/functionalities/object-file/bin/hello.c Wed Jul 23 10:16:35 2014
@@ -0,0 +1,8 @@
+#include <stdio.h>
+
+int main(int argc, char **argv)
+{
+	printf("Hello, world\n");
+	return 0;
+}
+





More information about the lldb-commits mailing list