[llvm-commits] [llvm] r120160 - /llvm/trunk/test/FrontendC++/
Duncan Sands
baldrick at free.fr
Thu Nov 25 13:39:18 PST 2010
Author: baldrick
Date: Thu Nov 25 15:39:17 2010
New Revision: 120160
URL: http://llvm.org/viewvc/llvm-project?rev=120160&view=rev
Log:
Remove explicit uses of -emit-llvm, the test infrastructure adds it
automatically. Use -S with llvm-gcc rather than -c, so tests can
work when llvm-gcc is really dragonegg (which can output IR with -S
but not -c).
Modified:
llvm/trunk/test/FrontendC++/2003-08-24-Cleanup.cpp
llvm/trunk/test/FrontendC++/2003-08-29-ArgPassingBug.cpp
llvm/trunk/test/FrontendC++/2003-11-08-ArrayAddress.cpp
llvm/trunk/test/FrontendC++/2004-03-09-UnmangledBuiltinMethods.cpp
llvm/trunk/test/FrontendC++/2004-09-27-DidntEmitTemplate.cpp
llvm/trunk/test/FrontendC++/2005-07-21-VirtualBaseAccess.cpp
llvm/trunk/test/FrontendC++/2006-09-27-Debug-Protection.cpp
llvm/trunk/test/FrontendC++/2006-10-30-ClassBitfield.cpp
llvm/trunk/test/FrontendC++/2006-11-30-ConstantExprCrash.cpp
llvm/trunk/test/FrontendC++/2007-01-02-UnboundedArray.cpp
llvm/trunk/test/FrontendC++/2007-01-06-ELF-Thunk-Sections.cpp
llvm/trunk/test/FrontendC++/2007-01-06-PtrMethodInit.cpp
llvm/trunk/test/FrontendC++/2007-03-27-FunctionVarRename.cpp
llvm/trunk/test/FrontendC++/2007-04-11-InlineStorageClassC++.cpp
llvm/trunk/test/FrontendC++/2007-05-03-VectorInit.cpp
llvm/trunk/test/FrontendC++/2007-05-16-ReverseBitFieldCrash.cpp
llvm/trunk/test/FrontendC++/2007-05-23-TryFinally.cpp
llvm/trunk/test/FrontendC++/2007-07-29-RestrictPtrArg.cpp
llvm/trunk/test/FrontendC++/2007-07-29-RestrictRefArg.cpp
llvm/trunk/test/FrontendC++/2007-08-01-RestrictMethod.cpp
llvm/trunk/test/FrontendC++/2007-09-10-RecursiveTypeResolution.cpp
llvm/trunk/test/FrontendC++/2007-10-01-StructResize.cpp
llvm/trunk/test/FrontendC++/2008-10-29-WrongOffset.cpp
llvm/trunk/test/FrontendC++/2009-02-16-CtorNames-dbg.cpp
llvm/trunk/test/FrontendC++/2009-03-17-dbg.cpp
llvm/trunk/test/FrontendC++/2009-04-21-DtorNames-dbg.cpp
llvm/trunk/test/FrontendC++/2009-04-23-bool2.cpp
llvm/trunk/test/FrontendC++/2009-05-04-PureConstNounwind.cpp
llvm/trunk/test/FrontendC++/2009-06-16-DebugInfoCrash.cpp
llvm/trunk/test/FrontendC++/2009-06-20-DarwinPPCLayout.cpp
llvm/trunk/test/FrontendC++/2009-08-05-ZeroInitWidth.cpp
llvm/trunk/test/FrontendC++/2009-08-11-VectorRetTy.cpp
llvm/trunk/test/FrontendC++/2009-09-04-modify-crash.cpp
llvm/trunk/test/FrontendC++/2009-09-09-packed-layout.cpp
llvm/trunk/test/FrontendC++/2009-10-27-crash.cpp
llvm/trunk/test/FrontendC++/2010-03-22-empty-baseclass.cpp
llvm/trunk/test/FrontendC++/2010-05-11-alwaysinlineinstantiation.cpp
llvm/trunk/test/FrontendC++/2010-05-12-PtrToMember-Dbg.cpp
llvm/trunk/test/FrontendC++/2010-06-22-BitfieldInit.cpp
llvm/trunk/test/FrontendC++/2010-06-22-ZeroBitfield.cpp
llvm/trunk/test/FrontendC++/2010-07-19-nowarn.cpp
llvm/trunk/test/FrontendC++/2010-07-23-DeclLoc.cpp
llvm/trunk/test/FrontendC++/member-alignment.cpp
llvm/trunk/test/FrontendC++/ptr-to-method-devirt.cpp
llvm/trunk/test/FrontendC++/varargs.cpp
llvm/trunk/test/FrontendC++/weak-external.cpp
llvm/trunk/test/FrontendC++/x86-64-abi-sret-vs-2word-struct-param.cpp
Modified: llvm/trunk/test/FrontendC++/2003-08-24-Cleanup.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC%2B%2B/2003-08-24-Cleanup.cpp?rev=120160&r1=120159&r2=120160&view=diff
==============================================================================
--- llvm/trunk/test/FrontendC++/2003-08-24-Cleanup.cpp (original)
+++ llvm/trunk/test/FrontendC++/2003-08-24-Cleanup.cpp Thu Nov 25 15:39:17 2010
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx -xc++ %s -c -o - | llvm-dis | grep unwind
+// RUN: %llvmgxx -xc++ %s -S -o - | grep unwind
struct S { ~S(); };
Modified: llvm/trunk/test/FrontendC++/2003-08-29-ArgPassingBug.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC%2B%2B/2003-08-29-ArgPassingBug.cpp?rev=120160&r1=120159&r2=120160&view=diff
==============================================================================
--- llvm/trunk/test/FrontendC++/2003-08-29-ArgPassingBug.cpp (original)
+++ llvm/trunk/test/FrontendC++/2003-08-29-ArgPassingBug.cpp Thu Nov 25 15:39:17 2010
@@ -1,5 +1,5 @@
-// RUN: %llvmgcc -xc++ -c -o /dev/null %s |& not grep WARNING
+// RUN: %llvmgcc -xc++ -S -o /dev/null %s |& not grep WARNING
struct iterator {
iterator();
Modified: llvm/trunk/test/FrontendC++/2003-11-08-ArrayAddress.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC%2B%2B/2003-11-08-ArrayAddress.cpp?rev=120160&r1=120159&r2=120160&view=diff
==============================================================================
--- llvm/trunk/test/FrontendC++/2003-11-08-ArrayAddress.cpp (original)
+++ llvm/trunk/test/FrontendC++/2003-11-08-ArrayAddress.cpp Thu Nov 25 15:39:17 2010
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx -xc++ %s -c -o - | llvm-dis | grep getelementptr
+// RUN: %llvmgxx -xc++ %s -S -o - | grep getelementptr
struct foo {
int array[100];
Modified: llvm/trunk/test/FrontendC++/2004-03-09-UnmangledBuiltinMethods.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC%2B%2B/2004-03-09-UnmangledBuiltinMethods.cpp?rev=120160&r1=120159&r2=120160&view=diff
==============================================================================
--- llvm/trunk/test/FrontendC++/2004-03-09-UnmangledBuiltinMethods.cpp (original)
+++ llvm/trunk/test/FrontendC++/2004-03-09-UnmangledBuiltinMethods.cpp Thu Nov 25 15:39:17 2010
@@ -1,4 +1,4 @@
-// RUN: %llvmgcc -xc++ -c -o - %s | llvm-dis | grep _ZN11AccessFlags6strlenEv
+// RUN: %llvmgcc -xc++ -S -o - %s | grep _ZN11AccessFlags6strlenEv
struct AccessFlags {
void strlen();
Modified: llvm/trunk/test/FrontendC++/2004-09-27-DidntEmitTemplate.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC%2B%2B/2004-09-27-DidntEmitTemplate.cpp?rev=120160&r1=120159&r2=120160&view=diff
==============================================================================
--- llvm/trunk/test/FrontendC++/2004-09-27-DidntEmitTemplate.cpp (original)
+++ llvm/trunk/test/FrontendC++/2004-09-27-DidntEmitTemplate.cpp Thu Nov 25 15:39:17 2010
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx -xc++ %s -c -o - | llvm-dis | grep callDefaultCtor | \
+// RUN: %llvmgxx -xc++ %s -S -o - | grep callDefaultCtor | \
// RUN: not grep declare
// This is a testcase for LLVM PR445, which was a problem where the
Modified: llvm/trunk/test/FrontendC++/2005-07-21-VirtualBaseAccess.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC%2B%2B/2005-07-21-VirtualBaseAccess.cpp?rev=120160&r1=120159&r2=120160&view=diff
==============================================================================
--- llvm/trunk/test/FrontendC++/2005-07-21-VirtualBaseAccess.cpp (original)
+++ llvm/trunk/test/FrontendC++/2005-07-21-VirtualBaseAccess.cpp Thu Nov 25 15:39:17 2010
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx -xc++ %s -c -o - | opt -die | llvm-dis | not grep cast
+// RUN: %llvmgxx -xc++ %s -S -o - | opt -die -S | not grep cast
void foo(int*);
Modified: llvm/trunk/test/FrontendC++/2006-09-27-Debug-Protection.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC%2B%2B/2006-09-27-Debug-Protection.cpp?rev=120160&r1=120159&r2=120160&view=diff
==============================================================================
--- llvm/trunk/test/FrontendC++/2006-09-27-Debug-Protection.cpp (original)
+++ llvm/trunk/test/FrontendC++/2006-09-27-Debug-Protection.cpp Thu Nov 25 15:39:17 2010
@@ -1,5 +1,5 @@
-// RUN: %llvmgxx -O0 -emit-llvm -S -g -o - %s | grep {i32 1,}
-// RUN: %llvmgxx -O0 -emit-llvm -S -g -o - %s | grep {i32 2,}
+// RUN: %llvmgxx -O0 -S -g -o - %s | grep {i32 1,}
+// RUN: %llvmgxx -O0 -S -g -o - %s | grep {i32 2,}
class A {
public:
int x;
Modified: llvm/trunk/test/FrontendC++/2006-10-30-ClassBitfield.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC%2B%2B/2006-10-30-ClassBitfield.cpp?rev=120160&r1=120159&r2=120160&view=diff
==============================================================================
--- llvm/trunk/test/FrontendC++/2006-10-30-ClassBitfield.cpp (original)
+++ llvm/trunk/test/FrontendC++/2006-10-30-ClassBitfield.cpp Thu Nov 25 15:39:17 2010
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx %s -emit-llvm -S -o -
+// RUN: %llvmgxx %s -S -o -
// PR954
struct _Refcount_Base {
Modified: llvm/trunk/test/FrontendC++/2006-11-30-ConstantExprCrash.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC%2B%2B/2006-11-30-ConstantExprCrash.cpp?rev=120160&r1=120159&r2=120160&view=diff
==============================================================================
--- llvm/trunk/test/FrontendC++/2006-11-30-ConstantExprCrash.cpp (original)
+++ llvm/trunk/test/FrontendC++/2006-11-30-ConstantExprCrash.cpp Thu Nov 25 15:39:17 2010
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx %s -emit-llvm -S -o -
+// RUN: %llvmgxx %s -S -o -
// PR1027
struct sys_var {
Modified: llvm/trunk/test/FrontendC++/2007-01-02-UnboundedArray.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC%2B%2B/2007-01-02-UnboundedArray.cpp?rev=120160&r1=120159&r2=120160&view=diff
==============================================================================
--- llvm/trunk/test/FrontendC++/2007-01-02-UnboundedArray.cpp (original)
+++ llvm/trunk/test/FrontendC++/2007-01-02-UnboundedArray.cpp Thu Nov 25 15:39:17 2010
@@ -1,6 +1,6 @@
// Make sure unbounded arrays compile with debug information.
//
-// RUN: %llvmgcc -O0 -c -g %s
+// RUN: %llvmgcc -O0 -S -g %s
// PR1068
Modified: llvm/trunk/test/FrontendC++/2007-01-06-ELF-Thunk-Sections.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC%2B%2B/2007-01-06-ELF-Thunk-Sections.cpp?rev=120160&r1=120159&r2=120160&view=diff
==============================================================================
--- llvm/trunk/test/FrontendC++/2007-01-06-ELF-Thunk-Sections.cpp (original)
+++ llvm/trunk/test/FrontendC++/2007-01-06-ELF-Thunk-Sections.cpp Thu Nov 25 15:39:17 2010
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx %s -emit-llvm -S -o - | not grep gnu.linkonce.
+// RUN: %llvmgxx %s -S -o - | not grep gnu.linkonce.
// PR1085
class
Modified: llvm/trunk/test/FrontendC++/2007-01-06-PtrMethodInit.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC%2B%2B/2007-01-06-PtrMethodInit.cpp?rev=120160&r1=120159&r2=120160&view=diff
==============================================================================
--- llvm/trunk/test/FrontendC++/2007-01-06-PtrMethodInit.cpp (original)
+++ llvm/trunk/test/FrontendC++/2007-01-06-PtrMethodInit.cpp Thu Nov 25 15:39:17 2010
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx %s -emit-llvm -S -o -
+// RUN: %llvmgxx %s -S -o -
// PR1084
extern "C"
Modified: llvm/trunk/test/FrontendC++/2007-03-27-FunctionVarRename.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC%2B%2B/2007-03-27-FunctionVarRename.cpp?rev=120160&r1=120159&r2=120160&view=diff
==============================================================================
--- llvm/trunk/test/FrontendC++/2007-03-27-FunctionVarRename.cpp (original)
+++ llvm/trunk/test/FrontendC++/2007-03-27-FunctionVarRename.cpp Thu Nov 25 15:39:17 2010
@@ -1,5 +1,5 @@
-// RUN: %llvmgxx %s -emit-llvm -S -o - | not grep eprintf1
-// RUN: %llvmgxx %s -emit-llvm -S -o - | grep eprintf
+// RUN: %llvmgxx %s -S -o - | not grep eprintf1
+// RUN: %llvmgxx %s -S -o - | grep eprintf
// Only one eprintf should exist in the output
Modified: llvm/trunk/test/FrontendC++/2007-04-11-InlineStorageClassC++.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC%2B%2B/2007-04-11-InlineStorageClassC%2B%2B.cpp?rev=120160&r1=120159&r2=120160&view=diff
==============================================================================
--- llvm/trunk/test/FrontendC++/2007-04-11-InlineStorageClassC++.cpp (original)
+++ llvm/trunk/test/FrontendC++/2007-04-11-InlineStorageClassC++.cpp Thu Nov 25 15:39:17 2010
@@ -1,16 +1,16 @@
-// RUN: %llvmgxx %s -S -emit-llvm -O0 -o - | grep define | \
+// RUN: %llvmgxx %s -S -O0 -o - | grep define | \
// RUN: grep xglobWeak | grep linkonce | count 1
-// RUN: %llvmgxx %s -S -emit-llvm -O0 -o - | grep define | \
+// RUN: %llvmgxx %s -S -O0 -o - | grep define | \
// RUN: grep xextWeak | grep linkonce | count 1
-// RUN: %llvmgxx %s -S -emit-llvm -O0 -o - | grep define | \
+// RUN: %llvmgxx %s -S -O0 -o - | grep define | \
// RUN: grep xWeaknoinline | grep weak | count 1
-// RUN: %llvmgxx %s -S -emit-llvm -O0 -o - | grep define | \
+// RUN: %llvmgxx %s -S -O0 -o - | grep define | \
// RUN: grep xWeakextnoinline | grep weak | count 1
-// RUN: %llvmgxx %s -S -emit-llvm -O0 -o - | grep define | \
+// RUN: %llvmgxx %s -S -O0 -o - | grep define | \
// RUN: grep xglobnoWeak | grep linkonce | count 1
-// RUN: %llvmgxx %s -S -emit-llvm -O0 -o - | grep define | \
+// RUN: %llvmgxx %s -S -O0 -o - | grep define | \
// RUN: grep xstatnoWeak | grep internal | count 1
-// RUN: %llvmgxx %s -S -emit-llvm -O0 -o - | grep define | \
+// RUN: %llvmgxx %s -S -O0 -o - | grep define | \
// RUN: grep xextnoWeak | grep linkonce | count 1
inline int xglobWeak(int) __attribute__((weak));
inline int xglobWeak (int i) {
Modified: llvm/trunk/test/FrontendC++/2007-05-03-VectorInit.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC%2B%2B/2007-05-03-VectorInit.cpp?rev=120160&r1=120159&r2=120160&view=diff
==============================================================================
--- llvm/trunk/test/FrontendC++/2007-05-03-VectorInit.cpp (original)
+++ llvm/trunk/test/FrontendC++/2007-05-03-VectorInit.cpp Thu Nov 25 15:39:17 2010
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx %s -S -emit-llvm -O0 -o -
+// RUN: %llvmgxx %s -S -O0 -o -
// PR1378
typedef float v4sf __attribute__((vector_size(16)));
Modified: llvm/trunk/test/FrontendC++/2007-05-16-ReverseBitFieldCrash.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC%2B%2B/2007-05-16-ReverseBitFieldCrash.cpp?rev=120160&r1=120159&r2=120160&view=diff
==============================================================================
--- llvm/trunk/test/FrontendC++/2007-05-16-ReverseBitFieldCrash.cpp (original)
+++ llvm/trunk/test/FrontendC++/2007-05-16-ReverseBitFieldCrash.cpp Thu Nov 25 15:39:17 2010
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx %s -emit-llvm -S -o -
+// RUN: %llvmgxx %s -S -o -
#pragma reverse_bitfields on
typedef unsigned long UINT32;
Modified: llvm/trunk/test/FrontendC++/2007-05-23-TryFinally.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC%2B%2B/2007-05-23-TryFinally.cpp?rev=120160&r1=120159&r2=120160&view=diff
==============================================================================
--- llvm/trunk/test/FrontendC++/2007-05-23-TryFinally.cpp (original)
+++ llvm/trunk/test/FrontendC++/2007-05-23-TryFinally.cpp Thu Nov 25 15:39:17 2010
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx %s -S -emit-llvm -O2 -o - | ignore grep _Unwind_Resume | \
+// RUN: %llvmgxx %s -S -O2 -o - | ignore grep _Unwind_Resume | \
// RUN: wc -l | grep {\[23\]}
struct One { };
Modified: llvm/trunk/test/FrontendC++/2007-07-29-RestrictPtrArg.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC%2B%2B/2007-07-29-RestrictPtrArg.cpp?rev=120160&r1=120159&r2=120160&view=diff
==============================================================================
--- llvm/trunk/test/FrontendC++/2007-07-29-RestrictPtrArg.cpp (original)
+++ llvm/trunk/test/FrontendC++/2007-07-29-RestrictPtrArg.cpp Thu Nov 25 15:39:17 2010
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx -c -emit-llvm %s -o - | llvm-dis | grep noalias
+// RUN: %llvmgxx -S %s -o - | grep noalias
void foo(int * __restrict myptr1, int * myptr2) {
myptr1[0] = 0;
Modified: llvm/trunk/test/FrontendC++/2007-07-29-RestrictRefArg.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC%2B%2B/2007-07-29-RestrictRefArg.cpp?rev=120160&r1=120159&r2=120160&view=diff
==============================================================================
--- llvm/trunk/test/FrontendC++/2007-07-29-RestrictRefArg.cpp (original)
+++ llvm/trunk/test/FrontendC++/2007-07-29-RestrictRefArg.cpp Thu Nov 25 15:39:17 2010
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx -c -emit-llvm %s -o - | llvm-dis | grep noalias
+// RUN: %llvmgxx -S %s -o - | grep noalias
void foo(int & __restrict myptr1, int & myptr2) {
myptr1 = 0;
Modified: llvm/trunk/test/FrontendC++/2007-08-01-RestrictMethod.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC%2B%2B/2007-08-01-RestrictMethod.cpp?rev=120160&r1=120159&r2=120160&view=diff
==============================================================================
--- llvm/trunk/test/FrontendC++/2007-08-01-RestrictMethod.cpp (original)
+++ llvm/trunk/test/FrontendC++/2007-08-01-RestrictMethod.cpp Thu Nov 25 15:39:17 2010
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx -c -emit-llvm %s -o - | llvm-dis | grep noalias
+// RUN: %llvmgxx -S %s -o - | grep noalias
class foo {
Modified: llvm/trunk/test/FrontendC++/2007-09-10-RecursiveTypeResolution.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC%2B%2B/2007-09-10-RecursiveTypeResolution.cpp?rev=120160&r1=120159&r2=120160&view=diff
==============================================================================
--- llvm/trunk/test/FrontendC++/2007-09-10-RecursiveTypeResolution.cpp (original)
+++ llvm/trunk/test/FrontendC++/2007-09-10-RecursiveTypeResolution.cpp Thu Nov 25 15:39:17 2010
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx -c -emit-llvm %s -o -
+// RUN: %llvmgxx -S %s -o -
// PR1634
namespace Manta
Modified: llvm/trunk/test/FrontendC++/2007-10-01-StructResize.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC%2B%2B/2007-10-01-StructResize.cpp?rev=120160&r1=120159&r2=120160&view=diff
==============================================================================
--- llvm/trunk/test/FrontendC++/2007-10-01-StructResize.cpp (original)
+++ llvm/trunk/test/FrontendC++/2007-10-01-StructResize.cpp Thu Nov 25 15:39:17 2010
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx -c %s -o /dev/null
+// RUN: %llvmgxx -S %s -o /dev/null
#pragma pack(4)
Modified: llvm/trunk/test/FrontendC++/2008-10-29-WrongOffset.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC%2B%2B/2008-10-29-WrongOffset.cpp?rev=120160&r1=120159&r2=120160&view=diff
==============================================================================
--- llvm/trunk/test/FrontendC++/2008-10-29-WrongOffset.cpp (original)
+++ llvm/trunk/test/FrontendC++/2008-10-29-WrongOffset.cpp Thu Nov 25 15:39:17 2010
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx %s -c -o /dev/null
+// RUN: %llvmgxx %s -S -o /dev/null
// PR2917
#include <complex>
Modified: llvm/trunk/test/FrontendC++/2009-02-16-CtorNames-dbg.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC%2B%2B/2009-02-16-CtorNames-dbg.cpp?rev=120160&r1=120159&r2=120160&view=diff
==============================================================================
--- llvm/trunk/test/FrontendC++/2009-02-16-CtorNames-dbg.cpp (original)
+++ llvm/trunk/test/FrontendC++/2009-02-16-CtorNames-dbg.cpp Thu Nov 25 15:39:17 2010
@@ -1,4 +1,4 @@
-// RUN: %llvmgcc -S -g --emit-llvm %s -o - | grep "\~A"
+// RUN: %llvmgcc -S -g %s -o - | grep "\~A"
class A {
int i;
public:
Modified: llvm/trunk/test/FrontendC++/2009-03-17-dbg.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC%2B%2B/2009-03-17-dbg.cpp?rev=120160&r1=120159&r2=120160&view=diff
==============================================================================
--- llvm/trunk/test/FrontendC++/2009-03-17-dbg.cpp (original)
+++ llvm/trunk/test/FrontendC++/2009-03-17-dbg.cpp Thu Nov 25 15:39:17 2010
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx -c -emit-llvm %s -o /dev/null -g
+// RUN: %llvmgxx -S %s -o /dev/null -g
// XTARGET: darwin,linux
// XFAIL: *
template <typename T1,typename T2>
Modified: llvm/trunk/test/FrontendC++/2009-04-21-DtorNames-dbg.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC%2B%2B/2009-04-21-DtorNames-dbg.cpp?rev=120160&r1=120159&r2=120160&view=diff
==============================================================================
--- llvm/trunk/test/FrontendC++/2009-04-21-DtorNames-dbg.cpp (original)
+++ llvm/trunk/test/FrontendC++/2009-04-21-DtorNames-dbg.cpp Thu Nov 25 15:39:17 2010
@@ -1,4 +1,4 @@
-// RUN: %llvmgcc -c -g %s -o - | llc -O0 -o %t.s
+// RUN: %llvmgcc -S -g %s -o - | llc -O0 -o %t.s
// RUN: %compile_c %t.s -o %t.o
// PR4025
Modified: llvm/trunk/test/FrontendC++/2009-04-23-bool2.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC%2B%2B/2009-04-23-bool2.cpp?rev=120160&r1=120159&r2=120160&view=diff
==============================================================================
--- llvm/trunk/test/FrontendC++/2009-04-23-bool2.cpp (original)
+++ llvm/trunk/test/FrontendC++/2009-04-23-bool2.cpp Thu Nov 25 15:39:17 2010
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx -c -emit-llvm %s -o /dev/null
+// RUN: %llvmgxx -S %s -o /dev/null
// g++.old-deja/g++.jason/bool2.C from gcc testsuite.
// Crashed before 67975 went in.
struct F {
Modified: llvm/trunk/test/FrontendC++/2009-05-04-PureConstNounwind.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC%2B%2B/2009-05-04-PureConstNounwind.cpp?rev=120160&r1=120159&r2=120160&view=diff
==============================================================================
--- llvm/trunk/test/FrontendC++/2009-05-04-PureConstNounwind.cpp (original)
+++ llvm/trunk/test/FrontendC++/2009-05-04-PureConstNounwind.cpp Thu Nov 25 15:39:17 2010
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx -S -emit-llvm %s -o - | grep nounwind | count 4
+// RUN: %llvmgxx -S %s -o - | grep nounwind | count 4
int c(void) __attribute__((const));
int p(void) __attribute__((pure));
int t(void);
Modified: llvm/trunk/test/FrontendC++/2009-06-16-DebugInfoCrash.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC%2B%2B/2009-06-16-DebugInfoCrash.cpp?rev=120160&r1=120159&r2=120160&view=diff
==============================================================================
--- llvm/trunk/test/FrontendC++/2009-06-16-DebugInfoCrash.cpp (original)
+++ llvm/trunk/test/FrontendC++/2009-06-16-DebugInfoCrash.cpp Thu Nov 25 15:39:17 2010
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx -c -emit-llvm %s -o /dev/null -g
+// RUN: %llvmgxx -S %s -o /dev/null -g
// This crashes if we try to emit debug info for TEMPLATE_DECL members.
template <class T> class K2PtrVectorBase {};
template <class T> class K2Vector {};
Modified: llvm/trunk/test/FrontendC++/2009-06-20-DarwinPPCLayout.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC%2B%2B/2009-06-20-DarwinPPCLayout.cpp?rev=120160&r1=120159&r2=120160&view=diff
==============================================================================
--- llvm/trunk/test/FrontendC++/2009-06-20-DarwinPPCLayout.cpp (original)
+++ llvm/trunk/test/FrontendC++/2009-06-20-DarwinPPCLayout.cpp Thu Nov 25 15:39:17 2010
@@ -1,10 +1,10 @@
-// RUN: %llvmgxx -S -m32 -emit-llvm %s -o - | grep baz | grep global | grep {struct.bar}
-// RUN: %llvmgxx -S -m32 -emit-llvm %s -o - | grep ccc | grep global | grep {struct.CC}
-// RUN: %llvmgxx -S -m32 -emit-llvm %s -o - | grep quux | grep global | grep {struct.bar}
-// RUN: %llvmgxx -S -m32 -emit-llvm %s -o - | grep foo | grep global | grep {struct.SRCFilter::FilterEntry}
-// RUN: %llvmgxx -S -m32 -emit-llvm %s -o - | grep {struct.bar} | grep {1 x i32}
-// RUN: %llvmgxx -S -m32 -emit-llvm %s -o - | grep {struct.CC} | grep {struct.payre<KBFP,float*} | grep {.base.32} | grep {1 x i32}
-// RUN: %llvmgxx -S -m32 -emit-llvm %s -o - | grep {struct.SRCFilter::FilterEntry} | not grep {1 x i32}
+// RUN: %llvmgxx -S -m32 %s -o - | grep baz | grep global | grep {struct.bar}
+// RUN: %llvmgxx -S -m32 %s -o - | grep ccc | grep global | grep {struct.CC}
+// RUN: %llvmgxx -S -m32 %s -o - | grep quux | grep global | grep {struct.bar}
+// RUN: %llvmgxx -S -m32 %s -o - | grep foo | grep global | grep {struct.SRCFilter::FilterEntry}
+// RUN: %llvmgxx -S -m32 %s -o - | grep {struct.bar} | grep {1 x i32}
+// RUN: %llvmgxx -S -m32 %s -o - | grep {struct.CC} | grep {struct.payre<KBFP,float*} | grep {.base.32} | grep {1 x i32}
+// RUN: %llvmgxx -S -m32 %s -o - | grep {struct.SRCFilter::FilterEntry} | not grep {1 x i32}
// XFAIL: *
// XTARGET: powerpc-apple-darwin
Modified: llvm/trunk/test/FrontendC++/2009-08-05-ZeroInitWidth.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC%2B%2B/2009-08-05-ZeroInitWidth.cpp?rev=120160&r1=120159&r2=120160&view=diff
==============================================================================
--- llvm/trunk/test/FrontendC++/2009-08-05-ZeroInitWidth.cpp (original)
+++ llvm/trunk/test/FrontendC++/2009-08-05-ZeroInitWidth.cpp Thu Nov 25 15:39:17 2010
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx -c -emit-llvm %s -o -
+// RUN: %llvmgxx -S %s -o -
// rdar://7114564
struct A {
unsigned long long : (sizeof(unsigned long long) * 8) - 16;
Modified: llvm/trunk/test/FrontendC++/2009-08-11-VectorRetTy.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC%2B%2B/2009-08-11-VectorRetTy.cpp?rev=120160&r1=120159&r2=120160&view=diff
==============================================================================
--- llvm/trunk/test/FrontendC++/2009-08-11-VectorRetTy.cpp (original)
+++ llvm/trunk/test/FrontendC++/2009-08-11-VectorRetTy.cpp Thu Nov 25 15:39:17 2010
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx %s -c -o /dev/null
+// RUN: %llvmgxx %s -S -o /dev/null
// <rdar://problem/7096460>
typedef void (*Func) ();
typedef long long m64 __attribute__((__vector_size__(8), __may_alias__));
Modified: llvm/trunk/test/FrontendC++/2009-09-04-modify-crash.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC%2B%2B/2009-09-04-modify-crash.cpp?rev=120160&r1=120159&r2=120160&view=diff
==============================================================================
--- llvm/trunk/test/FrontendC++/2009-09-04-modify-crash.cpp (original)
+++ llvm/trunk/test/FrontendC++/2009-09-04-modify-crash.cpp Thu Nov 25 15:39:17 2010
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx %s -emit-llvm -fapple-kext -S -o -
+// RUN: %llvmgxx %s -fapple-kext -S -o -
// The extra check in 71555 caused this to crash on Darwin X86
// in an assert build.
class foo {
Modified: llvm/trunk/test/FrontendC++/2009-09-09-packed-layout.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC%2B%2B/2009-09-09-packed-layout.cpp?rev=120160&r1=120159&r2=120160&view=diff
==============================================================================
--- llvm/trunk/test/FrontendC++/2009-09-09-packed-layout.cpp (original)
+++ llvm/trunk/test/FrontendC++/2009-09-09-packed-layout.cpp Thu Nov 25 15:39:17 2010
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx -S -m32 -emit-llvm %s -o /dev/null
+// RUN: %llvmgxx -S -m32 %s -o /dev/null
class X {
public:
virtual ~X();
Modified: llvm/trunk/test/FrontendC++/2009-10-27-crash.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC%2B%2B/2009-10-27-crash.cpp?rev=120160&r1=120159&r2=120160&view=diff
==============================================================================
--- llvm/trunk/test/FrontendC++/2009-10-27-crash.cpp (original)
+++ llvm/trunk/test/FrontendC++/2009-10-27-crash.cpp Thu Nov 25 15:39:17 2010
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx -emit-llvm -S %s -o /dev/null
+// RUN: %llvmgxx -S %s -o /dev/null
// Radar 7328944
typedef struct
Modified: llvm/trunk/test/FrontendC++/2010-03-22-empty-baseclass.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC%2B%2B/2010-03-22-empty-baseclass.cpp?rev=120160&r1=120159&r2=120160&view=diff
==============================================================================
--- llvm/trunk/test/FrontendC++/2010-03-22-empty-baseclass.cpp (original)
+++ llvm/trunk/test/FrontendC++/2010-03-22-empty-baseclass.cpp Thu Nov 25 15:39:17 2010
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx -S -emit-llvm %s -o - -O2 | FileCheck %s
+// RUN: %llvmgxx -S %s -o - -O2 | FileCheck %s
namespace boost {
namespace detail {
template <typename T> struct cv_traits_imp {};
Modified: llvm/trunk/test/FrontendC++/2010-05-11-alwaysinlineinstantiation.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC%2B%2B/2010-05-11-alwaysinlineinstantiation.cpp?rev=120160&r1=120159&r2=120160&view=diff
==============================================================================
--- llvm/trunk/test/FrontendC++/2010-05-11-alwaysinlineinstantiation.cpp (original)
+++ llvm/trunk/test/FrontendC++/2010-05-11-alwaysinlineinstantiation.cpp Thu Nov 25 15:39:17 2010
@@ -1,5 +1,5 @@
-// RUN: %llvmgxx -xc++ %s -c -o - | llvm-dis | not grep ZN12basic_stringIcEC1Ev
-// RUN: %llvmgxx -xc++ %s -c -o - | llvm-dis | grep ZN12basic_stringIcED1Ev | count 2
+// RUN: %llvmgxx -xc++ %s -S -o - | not grep ZN12basic_stringIcEC1Ev
+// RUN: %llvmgxx -xc++ %s -S -o - | grep ZN12basic_stringIcED1Ev | count 2
template<class charT>
class basic_string
Modified: llvm/trunk/test/FrontendC++/2010-05-12-PtrToMember-Dbg.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC%2B%2B/2010-05-12-PtrToMember-Dbg.cpp?rev=120160&r1=120159&r2=120160&view=diff
==============================================================================
--- llvm/trunk/test/FrontendC++/2010-05-12-PtrToMember-Dbg.cpp (original)
+++ llvm/trunk/test/FrontendC++/2010-05-12-PtrToMember-Dbg.cpp Thu Nov 25 15:39:17 2010
@@ -1,4 +1,4 @@
-//RUN: %llvmgxx -O0 -emit-llvm -S -g -o - %s | grep DW_TAG_auto_variable
+//RUN: %llvmgxx -O0 -S -g -o - %s | grep DW_TAG_auto_variable
class Foo
{
public:
Modified: llvm/trunk/test/FrontendC++/2010-06-22-BitfieldInit.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC%2B%2B/2010-06-22-BitfieldInit.cpp?rev=120160&r1=120159&r2=120160&view=diff
==============================================================================
--- llvm/trunk/test/FrontendC++/2010-06-22-BitfieldInit.cpp (original)
+++ llvm/trunk/test/FrontendC++/2010-06-22-BitfieldInit.cpp Thu Nov 25 15:39:17 2010
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx -g -c %s
+// RUN: %llvmgxx -g -S %s
struct TEST2
{
int subid:32;
Modified: llvm/trunk/test/FrontendC++/2010-06-22-ZeroBitfield.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC%2B%2B/2010-06-22-ZeroBitfield.cpp?rev=120160&r1=120159&r2=120160&view=diff
==============================================================================
--- llvm/trunk/test/FrontendC++/2010-06-22-ZeroBitfield.cpp (original)
+++ llvm/trunk/test/FrontendC++/2010-06-22-ZeroBitfield.cpp Thu Nov 25 15:39:17 2010
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx -g -c %s
+// RUN: %llvmgxx -g -S %s
struct s8_0 { unsigned : 0; };
struct s8_1 { double x; };
struct s8 { s8_0 a; s8_1 b; };
Modified: llvm/trunk/test/FrontendC++/2010-07-19-nowarn.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC%2B%2B/2010-07-19-nowarn.cpp?rev=120160&r1=120159&r2=120160&view=diff
==============================================================================
--- llvm/trunk/test/FrontendC++/2010-07-19-nowarn.cpp (original)
+++ llvm/trunk/test/FrontendC++/2010-07-19-nowarn.cpp Thu Nov 25 15:39:17 2010
@@ -1,4 +1,4 @@
-// RUN: %llvmgcc %s -c -m32 -fasm-blocks -o /dev/null
+// RUN: %llvmgcc %s -S -m32 -fasm-blocks -o /dev/null
// This should not warn about unreferenced label. 8195660.
// XFAIL: *
// XTARGET: x86,i386,i686
Modified: llvm/trunk/test/FrontendC++/2010-07-23-DeclLoc.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC%2B%2B/2010-07-23-DeclLoc.cpp?rev=120160&r1=120159&r2=120160&view=diff
==============================================================================
--- llvm/trunk/test/FrontendC++/2010-07-23-DeclLoc.cpp (original)
+++ llvm/trunk/test/FrontendC++/2010-07-23-DeclLoc.cpp Thu Nov 25 15:39:17 2010
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx -emit-llvm -S -g %s -o - | FileCheck %s
+// RUN: %llvmgxx -S -g %s -o - | FileCheck %s
// Require the template function declaration refer to the correct filename.
// First, locate the function decl in metadata, and pluck out the file handle:
// CHECK: {{extract_dwarf_data_from_header.*extract_dwarf_data_from_header.*extract_dwarf_data_from_header.*[^ ]+", metadata !}}[[filehandle:[0-9]+]],
Modified: llvm/trunk/test/FrontendC++/member-alignment.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC%2B%2B/member-alignment.cpp?rev=120160&r1=120159&r2=120160&view=diff
==============================================================================
--- llvm/trunk/test/FrontendC++/member-alignment.cpp (original)
+++ llvm/trunk/test/FrontendC++/member-alignment.cpp Thu Nov 25 15:39:17 2010
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx -S -emit-llvm %s -o - | FileCheck %s
+// RUN: %llvmgxx -S %s -o - | FileCheck %s
// XFAIL: arm,powerpc
// rdar://7268289
Modified: llvm/trunk/test/FrontendC++/ptr-to-method-devirt.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC%2B%2B/ptr-to-method-devirt.cpp?rev=120160&r1=120159&r2=120160&view=diff
==============================================================================
--- llvm/trunk/test/FrontendC++/ptr-to-method-devirt.cpp (original)
+++ llvm/trunk/test/FrontendC++/ptr-to-method-devirt.cpp Thu Nov 25 15:39:17 2010
@@ -1,6 +1,6 @@
// PR1602
-// RUN: %llvmgxx -c -emit-llvm %s -o - -O3 | llvm-dis | not grep ptrtoint
-// RUN: %llvmgxx -c -emit-llvm %s -o - -O3 | llvm-dis | grep getelementptr | count 1
+// RUN: %llvmgxx -S %s -o - -O3 | not grep ptrtoint
+// RUN: %llvmgxx -S %s -o - -O3 | grep getelementptr | count 1
struct S { virtual void f(); };
Modified: llvm/trunk/test/FrontendC++/varargs.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC%2B%2B/varargs.cpp?rev=120160&r1=120159&r2=120160&view=diff
==============================================================================
--- llvm/trunk/test/FrontendC++/varargs.cpp (original)
+++ llvm/trunk/test/FrontendC++/varargs.cpp Thu Nov 25 15:39:17 2010
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx -S -emit-llvm %s -o - | FileCheck %s
+// RUN: %llvmgxx -S %s -o - | FileCheck %s
// rdar://7309675
// PR4678
Modified: llvm/trunk/test/FrontendC++/weak-external.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC%2B%2B/weak-external.cpp?rev=120160&r1=120159&r2=120160&view=diff
==============================================================================
--- llvm/trunk/test/FrontendC++/weak-external.cpp (original)
+++ llvm/trunk/test/FrontendC++/weak-external.cpp Thu Nov 25 15:39:17 2010
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx %s -S -emit-llvm -O2 -o - | not grep {_ZNSs12_S_constructIPKcEEPcT_S3_RKSaIcESt20forward_iterator_tag}
+// RUN: %llvmgxx %s -S -O2 -o - | not grep {_ZNSs12_S_constructIPKcEEPcT_S3_RKSaIcESt20forward_iterator_tag}
// PR4262
// The "basic_string" extern template instantiation declaration is supposed to
Modified: llvm/trunk/test/FrontendC++/x86-64-abi-sret-vs-2word-struct-param.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC%2B%2B/x86-64-abi-sret-vs-2word-struct-param.cpp?rev=120160&r1=120159&r2=120160&view=diff
==============================================================================
--- llvm/trunk/test/FrontendC++/x86-64-abi-sret-vs-2word-struct-param.cpp (original)
+++ llvm/trunk/test/FrontendC++/x86-64-abi-sret-vs-2word-struct-param.cpp Thu Nov 25 15:39:17 2010
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx -S -emit-llvm %s -o - | grep byval | count 2
+// RUN: %llvmgxx -S %s -o - | grep byval | count 2
// XTARGET: x86
// PR4242
// (PR 4242 bug is on 64-bit only, test passes on x86-32 as well)
More information about the llvm-commits
mailing list