mirror of https://github.com/microsoft/clang.git
Recommit "[IAS] Teach -cc1as about the 'target-abi' option."
Added a REQUIRES for the Mips target. Also, switched to using plain CHECKs, at the suggestion of Eric Christopher. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@231363 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c2cd0245ee
commit
910ca79bc6
|
@ -25,11 +25,11 @@ def target_feature : Separate<["-"], "target-feature">,
|
|||
HelpText<"Target specific attributes">;
|
||||
def triple : Separate<["-"], "triple">,
|
||||
HelpText<"Specify target triple (e.g. i686-apple-darwin9)">;
|
||||
def target_abi : Separate<["-"], "target-abi">,
|
||||
HelpText<"Target a particular ABI type">;
|
||||
|
||||
}
|
||||
|
||||
def target_abi : Separate<["-"], "target-abi">,
|
||||
HelpText<"Target a particular ABI type">;
|
||||
def target_linker_version : Separate<["-"], "target-linker-version">,
|
||||
HelpText<"Target linker version">;
|
||||
def triple_EQ : Joined<["-"], "triple=">, Alias<triple>;
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
// Check if -cc1as knows about the 'target-abi' argument.
|
||||
// REQUIRES: mips-registered-target
|
||||
|
||||
// RUN: %clang -cc1as -triple mips--linux-gnu -filetype obj -target-cpu mips32 -target-abi o32 %s 2>&1 | \
|
||||
// RUN: FileCheck %s
|
||||
// CHECK-NOT: clang -cc1as: error: unknown argument: '-target-abi'
|
Loading…
Reference in New Issue