[PATCH] D70330: [profile] Fix file contention causing dropped counts on Windows under -fprofile-generate

Hans Wennborg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 25 05:20:12 PST 2019


hans added a comment.

Sorry for the slow reply; I was out last Friday.

Only one last comment about the %run commands.



================
Comment at: compiler-rt/test/profile/Windows/instrprof-multiprocess.test:5
+RUN: env LLVM_PROFILE_FILE=%t_%m.profraw %run %t
+RUN: %run %t
+RUN: llvm-profdata show --counts -function=foo %t_*.profraw | FileCheck %s
----------------
It looks like it's already %run on the line above. Is this second line necessary?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D70330/new/

https://reviews.llvm.org/D70330





More information about the llvm-commits mailing list