Use %llvmgcc -xassembler instead of invoking as directly. This avoids

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
This commit is contained in:
Dan Gohman 2008-11-19 16:02:14 +00:00
parent 430a555cdd
commit c738ac1d5d

View 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 }