summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-objdump
diff options
context:
space:
mode:
authorSimon Atanasyan <simon@atanasyan.com>2016-03-18 09:52:12 +0000
committerSimon Atanasyan <simon@atanasyan.com>2016-03-18 09:52:12 +0000
commit05f4c803bb9aafe16b487aa03fa78b3dbd8f3162 (patch)
tree686b5aee4c47e8aee59bd7838fbdf115e7695891 /llvm/test/tools/llvm-objdump
parent0baa1d3dbe64b91dd74e61fffe40e75983d4b0de (diff)
downloadbcm5719-llvm-05f4c803bb9aafe16b487aa03fa78b3dbd8f3162.tar.gz
bcm5719-llvm-05f4c803bb9aafe16b487aa03fa78b3dbd8f3162.zip
[llvm-objdump] Move test case to the X86 sub-directory because it depends on X86 target supporting. NFC.
llvm-svn: 263781
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