diff options
author | Kevin Enderby <enderby@apple.com> | 2017-06-20 21:00:25 +0000 |
---|---|---|
committer | Kevin Enderby <enderby@apple.com> | 2017-06-20 21:00:25 +0000 |
commit | 30cf2e87ba805684b1539d01a02da26900f91d1a (patch) | |
tree | bf7917157b9e2f201e137a1888c200dd8204c59d /llvm/test/tools/llvm-objdump | |
parent | 5984426f91282bdca4f4bb6552bbc4d3841ad32d (diff) | |
download | bcm5719-llvm-30cf2e87ba805684b1539d01a02da26900f91d1a.tar.gz bcm5719-llvm-30cf2e87ba805684b1539d01a02da26900f91d1a.zip |
Change llvm-objdump with Mach-O files and the -info-plist option with the
-no-leading-headers option so that it does not print the leading header.
rdar://27378808
llvm-svn: 305849
Diffstat (limited to 'llvm/test/tools/llvm-objdump')
-rw-r--r-- | llvm/test/tools/llvm-objdump/X86/macho-info-plist.test | 4 |
1 files changed, 4 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 index bee1952ce9b..7550af905b7 100644 --- a/llvm/test/tools/llvm-objdump/X86/macho-info-plist.test +++ b/llvm/test/tools/llvm-objdump/X86/macho-info-plist.test @@ -1,7 +1,11 @@ # RUN: llvm-mc < %s -triple x86_64-apple-darwin -filetype=obj | llvm-objdump -m -info-plist - | FileCheck %s +# RUN: llvm-mc < %s -triple x86_64-apple-darwin -filetype=obj | llvm-objdump -m -info-plist -no-leading-headers - | FileCheck --check-prefix=NOHEADER %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"?> + +# NOHEADER-NOT: Contents of (__TEXT,__info_plist) section +# NOHEADER: <?xml version="1.0" encoding="UTF-8"?> |