From 05f4c803bb9aafe16b487aa03fa78b3dbd8f3162 Mon Sep 17 00:00:00 2001 From: Simon Atanasyan Date: Fri, 18 Mar 2016 09:52:12 +0000 Subject: [PATCH] [llvm-objdump] Move test case to the X86 sub-directory because it depends on X86 target supporting. NFC. llvm-svn: 263781 --- llvm/test/tools/llvm-objdump/X86/hex-displacement.test | 6 ++++++ llvm/test/tools/llvm-objdump/hex-displacement.test | 11 ----------- 2 files changed, 6 insertions(+), 11 deletions(-) create mode 100644 llvm/test/tools/llvm-objdump/X86/hex-displacement.test delete mode 100644 llvm/test/tools/llvm-objdump/hex-displacement.test 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 0000000..dd2332e --- /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 d5e3b51..0000000 --- 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 -# CHECK-NEXT: 10002016: 50 pushl %eax -# CHECK-NEXT: 10002017: e8 00 00 00 00 calll 0 -- 2.7.4