Files
clang-p2996/clang/test/Driver/zos-profiling-error.c
Michael Francis ec094d259e [z/OS][pg] Throw error when using -pg on z/OS
Throw an error when trying to compile with `-pg` on z/OS,
as the platform does not support `gprof`.

Reviewed By: cebowleratibm, MaskRay

Differential Revision: https://reviews.llvm.org/D137756
2023-02-09 16:14:29 +00:00

3 lines
178 B
C

// RUN: %clang 2>&1 -### --target=s390x-none-zos -pg -S %s | FileCheck -check-prefix=FAIL-PG-NAME %s
// FAIL-PG-NAME: error: unsupported option '-pg' for target 's390x-none-zos'