[all-commits] [llvm/llvm-project] b98d0b: [InstrProf] Fix macOS profile tests after D156569

Ellis Hoag via All-commits all-commits at lists.llvm.org
Mon Aug 7 13:17:41 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b98d0b2e4cfa07cac8ce20e24ae4fc1736da0034
      https://github.com/llvm/llvm-project/commit/b98d0b2e4cfa07cac8ce20e24ae4fc1736da0034
  Author: Ellis Hoag <ellis.sparky.hoag at gmail.com>
  Date:   2023-08-07 (Mon, 07 Aug 2023)

  Changed paths:
    M clang/test/CodeGen/profile-filter.c
    M clang/test/Profile/gcc-flag-compatibility.c
    M compiler-rt/test/profile/Inputs/instrprof-value-prof-evict.c
    M compiler-rt/test/profile/Inputs/instrprof-value-prof-real.c
    M compiler-rt/test/profile/instrprof-entry-coverage.c

  Log Message:
  -----------
  [InstrProf] Fix macOS profile tests after D156569

In https://reviews.llvm.org/D156569 we changed the format of the IRPGO
counter names which broke some macOS tests because the `__profc_`
variable names changed. Use `{{_?}}` to allow mangled names to be
prefixed with `_` to pass tests.

Reviewed By: thakis

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




More information about the All-commits mailing list