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-cstring-dump.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-cstring-dump.test')
-rw-r--r-- | llvm/test/tools/llvm-objdump/X86/macho-cstring-dump.test | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-objdump/X86/macho-cstring-dump.test b/llvm/test/tools/llvm-objdump/X86/macho-cstring-dump.test index 3dfa4e34b26..a45690dbd7d 100644 --- a/llvm/test/tools/llvm-objdump/X86/macho-cstring-dump.test +++ b/llvm/test/tools/llvm-objdump/X86/macho-cstring-dump.test @@ -1,4 +1,8 @@ RUN: llvm-objdump -m -section __TEXT,__cstring %p/Inputs/hello.obj.macho-x86_64 | FileCheck %s +RUN: llvm-objdump -m -section __TEXT,__cstring -non-verbose %p/Inputs/hello.obj.macho-x86_64 | FileCheck %s -check-prefix=NON_VERBOSE CHECK: Contents of (__TEXT,__cstring) section CHECK: 000000000000003b Hello world\n + +NON_VERBOSE: Contents of (__TEXT,__cstring) section +NON_VERBOSE: 000000000000003b 48 65 6c 6c 6f 20 77 6f 72 6c 64 0a 00 |