From 9c22f87b1374b06dc6c07f6e8047890e390bbe2d Mon Sep 17 00:00:00 2001 From: Alexey Samsonov Date: Tue, 18 Jun 2013 15:03:28 +0000 Subject: 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 --- test/Object/Inputs/macho-universal.x86_64.i386 | Bin 0 -> 16624 bytes test/Object/nm-universal-binary.test | 6 ++++++ 2 files changed, 6 insertions(+) create mode 100755 test/Object/Inputs/macho-universal.x86_64.i386 create mode 100644 test/Object/nm-universal-binary.test (limited to 'test') diff --git a/test/Object/Inputs/macho-universal.x86_64.i386 b/test/Object/Inputs/macho-universal.x86_64.i386 new file mode 100755 index 0000000000..36d5fc29d6 Binary files /dev/null and b/test/Object/Inputs/macho-universal.x86_64.i386 differ 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 -- cgit v1.2.3