summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-objdump/ARM
diff options
context:
space:
mode:
authorKevin Enderby <enderby@apple.com>2015-03-13 17:56:32 +0000
committerKevin Enderby <enderby@apple.com>2015-03-13 17:56:32 +0000
commitf064075e54a0b75def06b59cc86e35dce39bebd9 (patch)
treeda66c6ceec1ca0f8e00c1e33c7d0a30f7fb18e35 /llvm/test/tools/llvm-objdump/ARM
parent7a9cca9e7d3d4a0e6875525c1d6f8704f63e56c5 (diff)
downloadbcm5719-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/ARM')
-rw-r--r--llvm/test/tools/llvm-objdump/ARM/macho-data-in-code.test8
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-objdump/ARM/macho-data-in-code.test b/llvm/test/tools/llvm-objdump/ARM/macho-data-in-code.test
index 1814dc02862..c7a6da1d950 100644
--- a/llvm/test/tools/llvm-objdump/ARM/macho-data-in-code.test
+++ b/llvm/test/tools/llvm-objdump/ARM/macho-data-in-code.test
@@ -1,4 +1,5 @@
RUN: llvm-objdump -m -data-in-code %p/Inputs/data-in-code.macho-arm | FileCheck %s
+RUN: llvm-objdump -m -data-in-code -non-verbose %p/Inputs/data-in-code.macho-arm | FileCheck %s -check-prefix=NON_VERBOSE
CHECK: Data in code table (4 entries)
CHECK: offset length kind
@@ -6,3 +7,10 @@ CHECK: 0x00000000 4 DATA
CHECK: 0x00000004 4 JUMP_TABLE32
CHECK: 0x00000008 2 JUMP_TABLE16
CHECK: 0x0000000a 1 JUMP_TABLE8
+
+NON_VERBOSE: Data in code table (4 entries)
+NON_VERBOSE: offset length kind
+NON_VERBOSE: 0x00000000 4 0x0001
+NON_VERBOSE: 0x00000004 4 0x0004
+NON_VERBOSE: 0x00000008 2 0x0003
+NON_VERBOSE: 0x0000000a 1 0x0002
OpenPOWER on IntegriCloud