[llvm] r215122 - llvm/test/tools/llvm-objdump: Reorganize target-dependent some tests.
NAKAMURA Takumi
geek4civic at gmail.com
Thu Aug 7 10:17:19 PDT 2014
Author: chapuni
Date: Thu Aug 7 12:17:19 2014
New Revision: 215122
URL: http://llvm.org/viewvc/llvm-project?rev=215122&view=rev
Log:
llvm/test/tools/llvm-objdump: Reorganize target-dependent some tests.
Added:
llvm/trunk/test/tools/llvm-objdump/ARM/
llvm/trunk/test/tools/llvm-objdump/ARM/lit.local.cfg
llvm/trunk/test/tools/llvm-objdump/ARM/macho-mattr-arm.test
- copied, changed from r215117, llvm/trunk/test/tools/llvm-objdump/macho-mattr-arm.test
llvm/trunk/test/tools/llvm-objdump/ARM/macho-mcpu-arm.test
- copied, changed from r215117, llvm/trunk/test/tools/llvm-objdump/macho-mcpu-arm.test
llvm/trunk/test/tools/llvm-objdump/X86/
llvm/trunk/test/tools/llvm-objdump/X86/Inputs/
llvm/trunk/test/tools/llvm-objdump/X86/Inputs/out-of-section-sym.elf-i386
- copied, changed from r215117, llvm/trunk/test/tools/llvm-objdump/Inputs/out-of-section-sym.elf-i386
llvm/trunk/test/tools/llvm-objdump/X86/Inputs/trivial.obj.elf-i386
- copied, changed from r215117, llvm/trunk/test/tools/llvm-objdump/Inputs/trivial.obj.elf-i386
llvm/trunk/test/tools/llvm-objdump/X86/disassembly-show-raw.test
- copied, changed from r215117, llvm/trunk/test/tools/llvm-objdump/disassembly-show-raw.test
llvm/trunk/test/tools/llvm-objdump/X86/lit.local.cfg
- copied, changed from r215117, llvm/trunk/test/tools/llvm-objdump/lit.local.cfg
llvm/trunk/test/tools/llvm-objdump/X86/out-of-section-sym.test
- copied, changed from r215117, llvm/trunk/test/tools/llvm-objdump/out-of-section-sym.test
Removed:
llvm/trunk/test/tools/llvm-objdump/Inputs/out-of-section-sym.elf-i386
llvm/trunk/test/tools/llvm-objdump/Inputs/trivial.obj.elf-i386
llvm/trunk/test/tools/llvm-objdump/disassembly-show-raw.test
llvm/trunk/test/tools/llvm-objdump/lit.local.cfg
llvm/trunk/test/tools/llvm-objdump/macho-mattr-arm.test
llvm/trunk/test/tools/llvm-objdump/macho-mcpu-arm.test
llvm/trunk/test/tools/llvm-objdump/out-of-section-sym.test
Added: llvm/trunk/test/tools/llvm-objdump/ARM/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-objdump/ARM/lit.local.cfg?rev=215122&view=auto
==============================================================================
--- llvm/trunk/test/tools/llvm-objdump/ARM/lit.local.cfg (added)
+++ llvm/trunk/test/tools/llvm-objdump/ARM/lit.local.cfg Thu Aug 7 12:17:19 2014
@@ -0,0 +1,2 @@
+if not 'ARM' in config.root.targets:
+ config.unsupported = True
Copied: llvm/trunk/test/tools/llvm-objdump/ARM/macho-mattr-arm.test (from r215117, llvm/trunk/test/tools/llvm-objdump/macho-mattr-arm.test)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-objdump/ARM/macho-mattr-arm.test?p2=llvm/trunk/test/tools/llvm-objdump/ARM/macho-mattr-arm.test&p1=llvm/trunk/test/tools/llvm-objdump/macho-mattr-arm.test&r1=215117&r2=215122&rev=215122&view=diff
==============================================================================
(empty)
Copied: llvm/trunk/test/tools/llvm-objdump/ARM/macho-mcpu-arm.test (from r215117, llvm/trunk/test/tools/llvm-objdump/macho-mcpu-arm.test)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-objdump/ARM/macho-mcpu-arm.test?p2=llvm/trunk/test/tools/llvm-objdump/ARM/macho-mcpu-arm.test&p1=llvm/trunk/test/tools/llvm-objdump/macho-mcpu-arm.test&r1=215117&r2=215122&rev=215122&view=diff
==============================================================================
(empty)
Removed: llvm/trunk/test/tools/llvm-objdump/Inputs/out-of-section-sym.elf-i386
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-objdump/Inputs/out-of-section-sym.elf-i386?rev=215121&view=auto
==============================================================================
Binary files llvm/trunk/test/tools/llvm-objdump/Inputs/out-of-section-sym.elf-i386 (original) and llvm/trunk/test/tools/llvm-objdump/Inputs/out-of-section-sym.elf-i386 (removed) differ
Removed: llvm/trunk/test/tools/llvm-objdump/Inputs/trivial.obj.elf-i386
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-objdump/Inputs/trivial.obj.elf-i386?rev=215121&view=auto
==============================================================================
Binary files llvm/trunk/test/tools/llvm-objdump/Inputs/trivial.obj.elf-i386 (original) and llvm/trunk/test/tools/llvm-objdump/Inputs/trivial.obj.elf-i386 (removed) differ
Copied: llvm/trunk/test/tools/llvm-objdump/X86/Inputs/out-of-section-sym.elf-i386 (from r215117, llvm/trunk/test/tools/llvm-objdump/Inputs/out-of-section-sym.elf-i386)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-objdump/X86/Inputs/out-of-section-sym.elf-i386?p2=llvm/trunk/test/tools/llvm-objdump/X86/Inputs/out-of-section-sym.elf-i386&p1=llvm/trunk/test/tools/llvm-objdump/Inputs/out-of-section-sym.elf-i386&r1=215117&r2=215122&rev=215122&view=diff
==============================================================================
(empty)
Copied: llvm/trunk/test/tools/llvm-objdump/X86/Inputs/trivial.obj.elf-i386 (from r215117, llvm/trunk/test/tools/llvm-objdump/Inputs/trivial.obj.elf-i386)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-objdump/X86/Inputs/trivial.obj.elf-i386?p2=llvm/trunk/test/tools/llvm-objdump/X86/Inputs/trivial.obj.elf-i386&p1=llvm/trunk/test/tools/llvm-objdump/Inputs/trivial.obj.elf-i386&r1=215117&r2=215122&rev=215122&view=diff
==============================================================================
(empty)
Copied: llvm/trunk/test/tools/llvm-objdump/X86/disassembly-show-raw.test (from r215117, llvm/trunk/test/tools/llvm-objdump/disassembly-show-raw.test)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-objdump/X86/disassembly-show-raw.test?p2=llvm/trunk/test/tools/llvm-objdump/X86/disassembly-show-raw.test&p1=llvm/trunk/test/tools/llvm-objdump/disassembly-show-raw.test&r1=215117&r2=215122&rev=215122&view=diff
==============================================================================
(empty)
Copied: llvm/trunk/test/tools/llvm-objdump/X86/lit.local.cfg (from r215117, llvm/trunk/test/tools/llvm-objdump/lit.local.cfg)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-objdump/X86/lit.local.cfg?p2=llvm/trunk/test/tools/llvm-objdump/X86/lit.local.cfg&p1=llvm/trunk/test/tools/llvm-objdump/lit.local.cfg&r1=215117&r2=215122&rev=215122&view=diff
==============================================================================
(empty)
Copied: llvm/trunk/test/tools/llvm-objdump/X86/out-of-section-sym.test (from r215117, llvm/trunk/test/tools/llvm-objdump/out-of-section-sym.test)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-objdump/X86/out-of-section-sym.test?p2=llvm/trunk/test/tools/llvm-objdump/X86/out-of-section-sym.test&p1=llvm/trunk/test/tools/llvm-objdump/out-of-section-sym.test&r1=215117&r2=215122&rev=215122&view=diff
==============================================================================
(empty)
Removed: llvm/trunk/test/tools/llvm-objdump/disassembly-show-raw.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-objdump/disassembly-show-raw.test?rev=215121&view=auto
==============================================================================
--- llvm/trunk/test/tools/llvm-objdump/disassembly-show-raw.test (original)
+++ llvm/trunk/test/tools/llvm-objdump/disassembly-show-raw.test (removed)
@@ -1,14 +0,0 @@
-// RUN: llvm-objdump -d %p/Inputs/trivial.obj.elf-i386 \
-// RUN: | FileCheck %s -check-prefix=WITHRAW
-// RUN: llvm-objdump -d -no-show-raw-insn %p/Inputs/trivial.obj.elf-i386 \
-// RUN: | FileCheck %s -check-prefix=NORAW
-
-// Expect to find the raw incoding when run with raw output (default), but not
-// when run explicitly with -no-show-raw-insn
-
-WITHRAW: a1 00 00 00 00 movl
-
-NORAW: movl
-NORAW-NOT: a1 00
-
-
Removed: llvm/trunk/test/tools/llvm-objdump/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-objdump/lit.local.cfg?rev=215121&view=auto
==============================================================================
--- llvm/trunk/test/tools/llvm-objdump/lit.local.cfg (original)
+++ llvm/trunk/test/tools/llvm-objdump/lit.local.cfg (removed)
@@ -1,2 +0,0 @@
-if not 'X86' in config.root.targets:
- config.unsupported = True
Removed: llvm/trunk/test/tools/llvm-objdump/macho-mattr-arm.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-objdump/macho-mattr-arm.test?rev=215121&view=auto
==============================================================================
--- llvm/trunk/test/tools/llvm-objdump/macho-mattr-arm.test (original)
+++ llvm/trunk/test/tools/llvm-objdump/macho-mattr-arm.test (removed)
@@ -1,5 +0,0 @@
-@ RUN: llvm-mc < %s -triple armv8-apple-darwin10 -mattr=+fp-armv8 -filetype=obj -o - | llvm-objdump -d -m -mattr=+fp-armv8 - | FileCheck %s
-
-vcvtt.f64.f16 d3, s1
-
-@ CHECK: e0 3b b2 ee vcvtt.f64.f16 d3, s1
Removed: llvm/trunk/test/tools/llvm-objdump/macho-mcpu-arm.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-objdump/macho-mcpu-arm.test?rev=215121&view=auto
==============================================================================
--- llvm/trunk/test/tools/llvm-objdump/macho-mcpu-arm.test (original)
+++ llvm/trunk/test/tools/llvm-objdump/macho-mcpu-arm.test (removed)
@@ -1,10 +0,0 @@
-@ RUN: llvm-mc < %s -triple thumbv7-apple-darwin -mcpu=cortex-a7 -filetype=obj | llvm-objdump -triple thumbv7-apple-darwin10 -m -d -mcpu=cortex-a7 - | FileCheck %s
-
-.thumb
-.thumb_func _t
-_t:
-sdiv r1, r2, r3
-udiv r1, r2, r3
-
-@ CHECK: 92 fb f3 f1 sdiv r1, r2, r3
-@ CHECK: b2 fb f3 f1 udiv r1, r2, r3
Removed: llvm/trunk/test/tools/llvm-objdump/out-of-section-sym.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-objdump/out-of-section-sym.test?rev=215121&view=auto
==============================================================================
--- llvm/trunk/test/tools/llvm-objdump/out-of-section-sym.test (original)
+++ llvm/trunk/test/tools/llvm-objdump/out-of-section-sym.test (removed)
@@ -1,13 +0,0 @@
-// Check that llvm-objdump does not attempt to disassemble symbols outside
-// of section boundaries.
-// RUN: llvm-objdump -d -t %p/Inputs/out-of-section-sym.elf-i386 | FileCheck %s
-
-CHECK: Disassembly of section .text:
-CHECK-NEXT: _start:
-CHECK-NEXT: 10: c3 retl
-CHECK-NEXT: SYMBOL TABLE:
-CHECK-NEXT: 00000000 *UND* 00000000
-CHECK-NEXT: 00000010 l d .text 00000000 .text
-CHECK-NEXT: 00000010 .text 00000000 _start
-CHECK-NEXT: 00000020 .text 00000000 _fdata
-CHECK-NEXT: 00000010 .text 00000000 _ftext
More information about the llvm-commits
mailing list