diff options
| author | Todd Fiala <todd.fiala@gmail.com> | 2014-07-23 15:16:35 +0000 |
|---|---|---|
| committer | Todd Fiala <todd.fiala@gmail.com> | 2014-07-23 15:16:35 +0000 |
| commit | 002fb104bd0a53df5917a5e2a3bfd93cb96d9bd4 (patch) | |
| tree | e4816e40ecc71f37a48145427b86687619cdb360 /lldb/test/functionalities/object-file | |
| parent | 903a78b7c6674c7af6d80c18af0f86377216bd3d (diff) | |
| download | bcm5719-llvm-002fb104bd0a53df5917a5e2a3bfd93cb96d9bd4.tar.gz bcm5719-llvm-002fb104bd0a53df5917a5e2a3bfd93cb96d9bd4.zip | |
Add kalimba architecture checking to TestImageListMultiArchitecture
Verify that ObjectFileELF's kalimba detection works regardless
of the host platform.
Change by Matthew Gardiner.
llvm-svn: 213763
Diffstat (limited to 'lldb/test/functionalities/object-file')
| -rw-r--r-- | lldb/test/functionalities/object-file/TestImageListMultiArchitecture.py | 1 | ||||
| -rw-r--r-- | lldb/test/functionalities/object-file/bin/hello-unknown-kalimba_arch4-kcc-36 | bin | 0 -> 17224 bytes | |||
| -rw-r--r-- | lldb/test/functionalities/object-file/bin/hello.c | 8 |
3 files changed, 9 insertions, 0 deletions
diff --git a/lldb/test/functionalities/object-file/TestImageListMultiArchitecture.py b/lldb/test/functionalities/object-file/TestImageListMultiArchitecture.py index fb7a1c21d68..b9bd95c0569 100644 --- a/lldb/test/functionalities/object-file/TestImageListMultiArchitecture.py +++ b/lldb/test/functionalities/object-file/TestImageListMultiArchitecture.py @@ -27,6 +27,7 @@ class TestImageListMultiArchitecture(TestBase): "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: diff --git a/lldb/test/functionalities/object-file/bin/hello-unknown-kalimba_arch4-kcc-36 b/lldb/test/functionalities/object-file/bin/hello-unknown-kalimba_arch4-kcc-36 Binary files differnew file mode 100644 index 00000000000..8e4dd8c883c --- /dev/null +++ b/lldb/test/functionalities/object-file/bin/hello-unknown-kalimba_arch4-kcc-36 diff --git a/lldb/test/functionalities/object-file/bin/hello.c b/lldb/test/functionalities/object-file/bin/hello.c new file mode 100644 index 00000000000..8c804005afe --- /dev/null +++ b/lldb/test/functionalities/object-file/bin/hello.c @@ -0,0 +1,8 @@ +#include <stdio.h> + +int main(int argc, char **argv) +{ + printf("Hello, world\n"); + return 0; +} + |

