[PATCH] D66324: clang-misexpect: Profile Guided Validation of Performance Annotations in LLVM
Paul Kirth via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Sep 7 11:39:17 PDT 2019
paulkirth added inline comments.
================
Comment at: clang/test/Profile/misexpect-branch-cold.c:4
+// RUN: llvm-profdata merge %S/Inputs/misexpect-branch.proftext -o %t.profdata
+// RUN: %clang_cc1 %s -O2 -o - -disable-llvm-passes -emit-llvm -fprofile-instrument-use-path=%t.profdata -verify -Wmisexpect
+
----------------
lebedev.ri wrote:
> Is there a test where `-Wmisexpect` isn't present, to verify that it is off-by-default?
We can add one, but is that necessary? Don't the tests for diagnostics cover those already?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D66324/new/
https://reviews.llvm.org/D66324
More information about the cfe-commits
mailing list