Use %llvmgcc -xassembler instead of invoking as directly. This avoids
authorDan Gohman <gohman@apple.com>
Wed, 19 Nov 2008 16:02:14 +0000 (16:02 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 19 Nov 2008 16:02:14 +0000 (16:02 +0000)
problems for example when LLVM is built with --with-extra-options=-m64
and as defaults to x86-32 mode.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59640 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/Generic/2008-07-29-EHLabel.ll

index 69a4e13223160d73fbb57c7ee2cc05104e3797ed..abf9456858259c4d7d9b7741e2002cef65e00243 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -o - | as -o /dev/null
+; RUN: llvm-as < %s | llc -o - | %llvmgcc -xassembler -c -o /dev/null -
 ; PR2609
        %struct..0._11 = type { i32 }
        %struct..1__pthread_mutex_s = type { i32, i32, i32, i32, i32, %struct..0._11 }