diff options
author | Alexey Samsonov <samsonov@google.com> | 2013-06-18 15:03:28 +0000 |
---|---|---|
committer | Alexey Samsonov <samsonov@google.com> | 2013-06-18 15:03:28 +0000 |
commit | 9c22f87b1374b06dc6c07f6e8047890e390bbe2d (patch) | |
tree | 4b4111e1ecfdffcfc137e357afdb764d72ea3696 /test | |
parent | 79ac9c8402d4113d42ff2d713c7acdfa800d2397 (diff) | |
download | llvm-9c22f87b1374b06dc6c07f6e8047890e390bbe2d.tar.gz llvm-9c22f87b1374b06dc6c07f6e8047890e390bbe2d.tar.bz2 llvm-9c22f87b1374b06dc6c07f6e8047890e390bbe2d.tar.xz |
Basic support for parsing Mach-O universal binaries in LLVMObject library
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184191 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rwxr-xr-x | test/Object/Inputs/macho-universal.x86_64.i386 | bin | 0 -> 16624 bytes | |||
-rw-r--r-- | test/Object/nm-universal-binary.test | 6 |
2 files changed, 6 insertions, 0 deletions
diff --git a/test/Object/Inputs/macho-universal.x86_64.i386 b/test/Object/Inputs/macho-universal.x86_64.i386 Binary files differnew file mode 100755 index 0000000000..36d5fc29d6 --- /dev/null +++ b/test/Object/Inputs/macho-universal.x86_64.i386 diff --git a/test/Object/nm-universal-binary.test b/test/Object/nm-universal-binary.test new file mode 100644 index 0000000000..8febfdfab3 --- /dev/null +++ b/test/Object/nm-universal-binary.test @@ -0,0 +1,6 @@ +RUN: llvm-nm %p/Inputs/macho-universal.x86_64.i386 | FileCheck %s + +CHECK: macho-universal.x86_64.i386:x86_64 +CHECK: main +CHECK: macho-universal.x86_64.i386:i386 +CHECK: main |