[PATCH] D137756: [z/OS][pg] Throw error when using -pg on z/OS
Fangrui Song via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 6 13:16:00 PST 2023
MaskRay accepted this revision.
MaskRay added a comment.
This revision is now accepted and ready to land.
Thanks!
================
Comment at: clang/test/Driver/zos-profiling-error.c:1
+// Check failed cases
+
----------------
Delete this comment. It does not help reading the test.
================
Comment at: clang/test/Driver/zos-profiling-error.c:3
+
+// RUN: not %clang -target s390x-none-zos -pg -S %s 2>&1 | FileCheck -check-prefix=FAIL-PG-NAME %s
+// FAIL-PG-NAME: error: unsupported option '-pg' for target 's390x-none-zos'
----------------
Use `--target=`
`-target ` is legacy.
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