From e18ad3d4c8f930ed3148d84f5fab2c3cd6c36a69 Mon Sep 17 00:00:00 2001 From: Logan Chien Date: Wed, 11 Dec 2013 19:38:10 +0000 Subject: [arm] Pass -triple to llvm-mc for ARM ELF test cases. Replace -arch with -triple so that we can guarantee that ELF object files can be generated. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197062 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/MC/ARM/directive-arch-armv3.s | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/MC/ARM/directive-arch-armv3.s') diff --git a/test/MC/ARM/directive-arch-armv3.s b/test/MC/ARM/directive-arch-armv3.s index 7b17faaedb..2203d92401 100644 --- a/test/MC/ARM/directive-arch-armv3.s +++ b/test/MC/ARM/directive-arch-armv3.s @@ -3,9 +3,9 @@ @ This test case will check the default .ARM.attributes value for the @ armv3 architecture. -@ RUN: llvm-mc < %s -arch=arm -filetype=asm \ +@ RUN: llvm-mc < %s -triple=arm-linux-gnueabi -filetype=asm \ @ RUN: | FileCheck %s --check-prefix=CHECK-ASM -@ RUN: llvm-mc < %s -arch=arm -filetype=obj \ +@ RUN: llvm-mc < %s -triple=arm-linux-gnueabi -filetype=obj \ @ RUN: | llvm-readobj -s -sd | FileCheck %s --check-prefix=CHECK-OBJ .syntax unified -- cgit v1.2.3