[llvm] r240368 - Fix tests when X86 is not enabled.
Rafael Espindola
rafael.espindola at gmail.com
Mon Jun 22 19:45:45 PDT 2015
Author: rafael
Date: Mon Jun 22 21:45:44 2015
New Revision: 240368
URL: http://llvm.org/viewvc/llvm-project?rev=240368&view=rev
Log:
Fix tests when X86 is not enabled.
Added:
llvm/trunk/test/tools/llvm-cxxdump/X86/
llvm/trunk/test/tools/llvm-cxxdump/X86/lit.local.cfg
llvm/trunk/test/tools/llvm-cxxdump/X86/sym-size.s
- copied, changed from r240367, llvm/trunk/test/tools/llvm-cxxdump/sym-size.s
Removed:
llvm/trunk/test/tools/llvm-cxxdump/sym-size.s
Added: llvm/trunk/test/tools/llvm-cxxdump/X86/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-cxxdump/X86/lit.local.cfg?rev=240368&view=auto
==============================================================================
--- llvm/trunk/test/tools/llvm-cxxdump/X86/lit.local.cfg (added)
+++ llvm/trunk/test/tools/llvm-cxxdump/X86/lit.local.cfg Mon Jun 22 21:45:44 2015
@@ -0,0 +1,2 @@
+if not 'X86' in config.root.targets:
+ config.unsupported = True
Copied: llvm/trunk/test/tools/llvm-cxxdump/X86/sym-size.s (from r240367, llvm/trunk/test/tools/llvm-cxxdump/sym-size.s)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-cxxdump/X86/sym-size.s?p2=llvm/trunk/test/tools/llvm-cxxdump/X86/sym-size.s&p1=llvm/trunk/test/tools/llvm-cxxdump/sym-size.s&r1=240367&r2=240368&rev=240368&view=diff
==============================================================================
(empty)
Removed: llvm/trunk/test/tools/llvm-cxxdump/sym-size.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-cxxdump/sym-size.s?rev=240367&view=auto
==============================================================================
--- llvm/trunk/test/tools/llvm-cxxdump/sym-size.s (original)
+++ llvm/trunk/test/tools/llvm-cxxdump/sym-size.s (removed)
@@ -1,44 +0,0 @@
-// RUN: llvm-mc %s -o %t -filetype=obj -triple=x86_64-pc-win32
-// RUN: llvm-cxxdump %t | FileCheck %s
-
-// CHECK: ??_8B@@7B@[0]: 8
-// CHECK-NEXT: ??_8B@@7B@[4]: 9
-// CHECK-NEXT: ??_8C@@7B@[0]: 10
-// CHECK-NEXT: ??_8C@@7B@[4]: 11
-// CHECK-NEXT: ??_8D@@7B0@@[0]: 0
-// CHECK-NEXT: ??_8D@@7B0@@[4]: 1
-// CHECK-NEXT: ??_8D@@7B0@@[8]: 2
-// CHECK-NEXT: ??_8D@@7B0@@[12]: 3
-// CHECK-NEXT: ??_8D@@7BB@@@[0]: 4
-// CHECK-NEXT: ??_8D@@7BB@@@[4]: 5
-// CHECK-NEXT: ??_8D@@7BC@@@[0]: 6
-// CHECK-NEXT: ??_8D@@7BC@@@[4]: 7
-
- .section .rdata,"dr"
- .globl "??_8D@@7B0@@"
-"??_8D@@7B0@@":
- .long 0
- .long 1
- .long 2
- .long 3
-
- .globl "??_8D@@7BB@@@"
-"??_8D@@7BB@@@":
- .long 4
- .long 5
-
- .globl "??_8D@@7BC@@@"
-"??_8D@@7BC@@@":
- .long 6
- .long 7
-
- .globl "??_8B@@7B@"
-"??_8B@@7B@":
- .long 8
- .long 9
-
- .globl "??_8C@@7B@"
-"??_8C@@7B@":
- .long 10
- .long 11
-
More information about the llvm-commits
mailing list