diff options
author | Kevin Enderby <enderby@apple.com> | 2015-03-13 17:56:32 +0000 |
---|---|---|
committer | Kevin Enderby <enderby@apple.com> | 2015-03-13 17:56:32 +0000 |
commit | f064075e54a0b75def06b59cc86e35dce39bebd9 (patch) | |
tree | da66c6ceec1ca0f8e00c1e33c7d0a30f7fb18e35 /llvm/test/tools/llvm-objdump/X86/macho-literal-pointers-x86_64.test | |
parent | 7a9cca9e7d3d4a0e6875525c1d6f8704f63e56c5 (diff) | |
download | bcm5719-llvm-f064075e54a0b75def06b59cc86e35dce39bebd9.tar.gz bcm5719-llvm-f064075e54a0b75def06b59cc86e35dce39bebd9.zip |
Add the option, -non-verbose to llvm-objdump used with -macho to print things
using numeric values and not their symbolic constant names.
The routines that print Mach-O stuff already had a verbose parameter and this
change is just changing the passing true to passing !NonVerbose. With just a
couple of fixes and a bunch of test case updates.
llvm-svn: 232182
Diffstat (limited to 'llvm/test/tools/llvm-objdump/X86/macho-literal-pointers-x86_64.test')
-rw-r--r-- | llvm/test/tools/llvm-objdump/X86/macho-literal-pointers-x86_64.test | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-objdump/X86/macho-literal-pointers-x86_64.test b/llvm/test/tools/llvm-objdump/X86/macho-literal-pointers-x86_64.test index b403b8154de..f1912e8861c 100644 --- a/llvm/test/tools/llvm-objdump/X86/macho-literal-pointers-x86_64.test +++ b/llvm/test/tools/llvm-objdump/X86/macho-literal-pointers-x86_64.test @@ -1,4 +1,5 @@ # RUN: llvm-mc < %s -triple x86_64-apple-darwin -filetype=obj | llvm-objdump -m -section __DATA,__litp - | FileCheck %s +# RUN: llvm-mc < %s -triple x86_64-apple-darwin -filetype=obj | llvm-objdump -m -section __DATA,__litp -non-verbose - | FileCheck %s -check-prefix=NON-VERBOSE .cstring L1: .asciz "Hello world\n" @@ -32,3 +33,8 @@ L5: .asciz "const non-literal string" # CHECK: 0000000000000060 __TEXT:__literal8:0x00000000 0x40200000 # CHECK: 0000000000000068 __TEXT:__literal16:0x10000016 0x20000016 0x30000016 0x40000016 # CHECK: 0000000000000070 0x30 (not in a literal section) + +# NON-VERBOSE: Contents of (__DATA,__litp) section +# NON-VERBOSE: 0000000000000050 00 00 00 00 00 00 00 00 10 00 00 00 00 00 00 00 +# NON-VERBOSE: 0000000000000060 18 00 00 00 00 00 00 00 20 00 00 00 00 00 00 00 +# NON-VERBOSE: 0000000000000070 30 00 00 00 00 00 00 00 |