aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/tools/llvm-objdump/MachO/info-plist-nofollow.test
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/tools/llvm-objdump/MachO/info-plist-nofollow.test')
-rw-r--r--llvm/test/tools/llvm-objdump/MachO/info-plist-nofollow.test10
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-objdump/MachO/info-plist-nofollow.test b/llvm/test/tools/llvm-objdump/MachO/info-plist-nofollow.test
new file mode 100644
index 000000000000..12ad166c5a2f
--- /dev/null
+++ b/llvm/test/tools/llvm-objdump/MachO/info-plist-nofollow.test
@@ -0,0 +1,10 @@
+# RUN: llvm-mc < %s -triple x86_64-apple-darwin -filetype=obj | llvm-objdump -m -info-plist - | FileCheck %s
+
+.section __TEXT, __info_plist
+.ascii "This is the (__TEXT,__info_plist) section\n"
+.section __TEXT, __follow
+.asciz "This is the (__TEXT,__follow) section\n"
+
+# CHECK: Contents of (__TEXT,__info_plist) section
+# CHECK: This is the (__TEXT,__info_plist) section
+# CHECK-NOT: This is the (__TEXT,__follow) section