[all-commits] [llvm/llvm-project] fbb23c: Fix profiling options on PS4 target:

dmmikulin via All-commits all-commits at lists.llvm.org
Mon Mar 16 17:18:36 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: fbb23c9714f21c5f46ced5ccaed0cb90e05f61e7
      https://github.com/llvm/llvm-project/commit/fbb23c9714f21c5f46ced5ccaed0cb90e05f61e7
  Author: Dmitry Mikulin <dmitry.mikulin at sony.com>
  Date:   2020-03-16 (Mon, 16 Mar 2020)

  Changed paths:
    M clang/lib/Driver/ToolChains/PS4CPU.cpp
    M clang/test/Driver/ps4-runtime-flags.c

  Log Message:
  -----------
  Fix profiling options on PS4 target:
- libclang_rt.profile should be added when -fcs-profile-generate is on thecommand line.
- OPT_fno_profile_instr_generate was used as a negative for OPT_fprofile_generate. Fix it to use OPT_fno_profile_generate.

Differential Revision: https://reviews.llvm.org/D75274




More information about the All-commits mailing list