[all-commits] [llvm/llvm-project] ec094d: [z/OS][pg] Throw error when using -pg on z/OS

Michael Francis via All-commits all-commits at lists.llvm.org
Thu Feb 9 08:14:42 PST 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ec094d259ecfdd82b951f644bc9a28e487e53c60
  Author: Michael Francis <michaelfrancis at ibm.com>
  Date:   2023-02-09 (Thu, 09 Feb 2023)

  Changed paths:
    M clang/lib/Driver/ToolChains/Clang.cpp
    A clang/test/Driver/zos-profiling-error.c

  Log Message:
  [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

More information about the All-commits mailing list