aboutsummaryrefslogtreecommitdiff
path: root/test/tools/llvm-nm/X86/posixMachO.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/tools/llvm-nm/X86/posixMachO.test')
-rw-r--r--test/tools/llvm-nm/X86/posixMachO.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/tools/llvm-nm/X86/posixMachO.test b/test/tools/llvm-nm/X86/posixMachO.test
new file mode 100644
index 000000000000..a0d114237ce0
--- /dev/null
+++ b/test/tools/llvm-nm/X86/posixMachO.test
@@ -0,0 +1,7 @@
+# RUN: llvm-nm -P %p/Inputs/hello.obj.macho-x86_64 | FileCheck %s
+
+# CHECK: EH_frame0 s 104 0
+# CHECK: L_.str s 59 0
+# CHECK: _main T 0 0
+# CHECK: _main.eh S 128 0
+# CHECK: _printf U 0 0