summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test')
-rwxr-xr-xllvm/test/Object/Inputs/macho-universal.x86_64.i386bin0 -> 16624 bytes
-rw-r--r--llvm/test/Object/nm-universal-binary.test6
2 files changed, 6 insertions, 0 deletions
diff --git a/llvm/test/Object/Inputs/macho-universal.x86_64.i386 b/llvm/test/Object/Inputs/macho-universal.x86_64.i386
new file mode 100755
index 00000000000..36d5fc29d68
--- /dev/null
+++ b/llvm/test/Object/Inputs/macho-universal.x86_64.i386
Binary files differ
diff --git a/llvm/test/Object/nm-universal-binary.test b/llvm/test/Object/nm-universal-binary.test
new file mode 100644
index 00000000000..8febfdfab39
--- /dev/null
+++ b/llvm/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
OpenPOWER on IntegriCloud