summaryrefslogtreecommitdiffstats
path: root/llvm/test/Object/nm-universal-binary.test
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2013-06-18 15:03:28 +0000
committerAlexey Samsonov <samsonov@google.com>2013-06-18 15:03:28 +0000
commite6388e622e32f7c840d015b0710dcdde56af639e (patch)
tree59397d191d7fd2cbe3d7d0746fac7cb373842dc9 /llvm/test/Object/nm-universal-binary.test
parent63d84f8149156eae20cf21e06c0212c14cf6ed44 (diff)
downloadbcm5719-llvm-e6388e622e32f7c840d015b0710dcdde56af639e.tar.gz
bcm5719-llvm-e6388e622e32f7c840d015b0710dcdde56af639e.zip
Basic support for parsing Mach-O universal binaries in LLVMObject library
llvm-svn: 184191
Diffstat (limited to 'llvm/test/Object/nm-universal-binary.test')
-rw-r--r--llvm/test/Object/nm-universal-binary.test6
1 files changed, 6 insertions, 0 deletions
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