[PATCH] D137756: [z/OS][p][pg] Throw Error When Using -p or -pg on z/OS
Fangrui Song via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Dec 2 11:01:13 PST 2022
MaskRay added inline comments.
================
Comment at: clang/test/Driver/zos-profiling-error.c:3
+
+// RUN: not %clang -target s390x-none-zos -p -S %s 2>&1 | FileCheck -check-prefix=FAIL-P-NAME %s
+// FAIL-P-NAME: error: unsupported option '-p' for target 's390x-none-zos'
----------------
Prefer `--target=` for new tests. Consider reusing `clang/test/Driver/p.c` and adding the code to clang/lib/Driver/ToolChains/Clang.cpp instead
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D137756/new/
https://reviews.llvm.org/D137756
More information about the cfe-commits
mailing list