aboutsummaryrefslogtreecommitdiffstats
path: root/test/tools/llvm-objdump/ARM/macho-data-in-code.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/tools/llvm-objdump/ARM/macho-data-in-code.test')
-rw-r--r--test/tools/llvm-objdump/ARM/macho-data-in-code.test8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/tools/llvm-objdump/ARM/macho-data-in-code.test b/test/tools/llvm-objdump/ARM/macho-data-in-code.test
new file mode 100644
index 0000000..1814dc0
--- /dev/null
+++ b/test/tools/llvm-objdump/ARM/macho-data-in-code.test
@@ -0,0 +1,8 @@
+RUN: llvm-objdump -m -data-in-code %p/Inputs/data-in-code.macho-arm | FileCheck %s
+
+CHECK: Data in code table (4 entries)
+CHECK: offset length kind
+CHECK: 0x00000000 4 DATA
+CHECK: 0x00000004 4 JUMP_TABLE32
+CHECK: 0x00000008 2 JUMP_TABLE16
+CHECK: 0x0000000a 1 JUMP_TABLE8