[PATCH] D157321: [InstrProf] Fix macOS profile tests after D156569

Ellis Hoag via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 7 12:43:08 PDT 2023


ellis created this revision.
Herald added subscribers: wlei, Enna1, wenlei.
Herald added a project: All.
ellis requested review of this revision.
Herald added projects: clang, Sanitizers.
Herald added subscribers: Sanitizers, cfe-commits.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D157321

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157321.547919.patch
Type: text/x-patch
Size: 116844 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230807/a29c2324/attachment-0001.bin>


More information about the cfe-commits mailing list