[PATCH] D29954: [PGO] Suspend SIGKILL for PR_SET_PDEATHSIG in profile-write

David Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 15 23:31:26 PST 2017


davidxl accepted this revision.
davidxl added a comment.
This revision is now accepted and ready to land.

lgtm



================
Comment at: test/profile/Linux/prctl.c:3
+// RUN: rm -rf default_*.profraw
+// RUN: %run %t && sleep 5
+// RUN: llvm-profdata show default_*.profraw 2>&1 | FileCheck %s
----------------
sleep 5 seconds can be a problem -- it greatly increases the total runtime of check-profile. Please tune this down to 1 second (by reducing the fake data size).


https://reviews.llvm.org/D29954





More information about the llvm-commits mailing list