[PATCH] D156351: clang driver throws error for -mabi=elfv2 or elfv2
Fangrui Song via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 27 22:50:02 PDT 2023
MaskRay added inline comments.
================
Comment at: clang/test/Driver/ppc-abi.c:18
// RUN: -mabi=altivec | FileCheck -check-prefix=CHECK-ELFv2 %s
+// RUN: %clang -target powerpc64le-unknown-unknown-gnu %s -### -o %t.o 2>&1 \
+// RUN: -mabi=elfv1 | FileCheck -check-prefix=CHECK-UNKNOWN-ELFv1 %s
----------------
`-target ` has been deprecated since Clang 3.4. Use `--target=` for new tests:_
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D156351/new/
https://reviews.llvm.org/D156351
More information about the cfe-commits
mailing list