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
3 lines
178 B
C
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'
|