summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-objdump/X86
diff options
context:
space:
mode:
authorKevin Enderby <enderby@apple.com>2015-03-11 22:06:32 +0000
committerKevin Enderby <enderby@apple.com>2015-03-11 22:06:32 +0000
commitcd66be5dda7b59f0009753fd1e63bfe595610f6d (patch)
tree2e05248fd3d24288a6bc6a7ca39f60c958dcf5b6 /llvm/test/tools/llvm-objdump/X86
parent5ad16c2ad03ca90ee63e5c9d982fc8c3eac1b4a6 (diff)
downloadbcm5719-llvm-cd66be5dda7b59f0009753fd1e63bfe595610f6d.tar.gz
bcm5719-llvm-cd66be5dda7b59f0009753fd1e63bfe595610f6d.zip
Add the option, -info-plist to llvm-objdump used with -macho to print the
Mach-O info plist section as strings. llvm-svn: 231974
Diffstat (limited to 'llvm/test/tools/llvm-objdump/X86')
-rw-r--r--llvm/test/tools/llvm-objdump/X86/macho-info-plist.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-objdump/X86/macho-info-plist.test b/llvm/test/tools/llvm-objdump/X86/macho-info-plist.test
new file mode 100644
index 00000000000..bee1952ce9b
--- /dev/null
+++ b/llvm/test/tools/llvm-objdump/X86/macho-info-plist.test
@@ -0,0 +1,7 @@
+# RUN: llvm-mc < %s -triple x86_64-apple-darwin -filetype=obj | llvm-objdump -m -info-plist - | FileCheck %s
+
+.section __TEXT, __info_plist
+.asciz "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
+
+# CHECK: Contents of (__TEXT,__info_plist) section
+# CHECK: <?xml version="1.0" encoding="UTF-8"?>
OpenPOWER on IntegriCloud