summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-objdump
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/tools/llvm-objdump')
-rw-r--r--llvm/test/tools/llvm-objdump/X86/hex-displacement.test6
-rw-r--r--llvm/test/tools/llvm-objdump/hex-displacement.test11
2 files changed, 6 insertions, 11 deletions
diff --git a/llvm/test/tools/llvm-objdump/X86/hex-displacement.test b/llvm/test/tools/llvm-objdump/X86/hex-displacement.test
new file mode 100644
index 00000000000..dd2332e572f
--- /dev/null
+++ b/llvm/test/tools/llvm-objdump/X86/hex-displacement.test
@@ -0,0 +1,6 @@
+# Check that target displacement has '0x' prefix
+# to accent hex format of the number.
+
+# RUN: llvm-objdump -d %p/Inputs/hello.exe.macho-i386 | FileCheck %s
+
+# CHECK: 1f47: e8 00 00 00 00 calll 0 <_main+0xC>
diff --git a/llvm/test/tools/llvm-objdump/hex-displacement.test b/llvm/test/tools/llvm-objdump/hex-displacement.test
deleted file mode 100644
index d5e3b519db3..00000000000
--- a/llvm/test/tools/llvm-objdump/hex-displacement.test
+++ /dev/null
@@ -1,11 +0,0 @@
-# Check that target displacement has '0x' prefix
-# to accent hex format of the number.
-
-# REQUIRES: x86
-# RUN: llvm-objdump -d %p/Inputs/export.dll.coff-i386 | FileCheck %s
-
-# CHECK: exportfn2:
-# CHECK-NEXT: 10002010: 50 pushl %eax
-# CHECK-NEXT: 10002011: e8 00 00 00 00 calll 0 <exportfn2+0x6>
-# CHECK-NEXT: 10002016: 50 pushl %eax
-# CHECK-NEXT: 10002017: e8 00 00 00 00 calll 0 <exportfn2+0xC>
OpenPOWER on IntegriCloud