[PATCH] D94820: Support for instrumenting only selected files or functions

David Li via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 25 14:00:59 PST 2021


davidxl added inline comments.


================
Comment at: clang/test/CodeGen/profile-filter.c:17
+// RUN: %clang_cc1 -fprofile-instrument=clang -fprofile-list=%t-exclude-only.list -emit-llvm %s -o - | FileCheck %s --check-prefix=EXCLUDE
+
+unsigned i;
----------------
phosek wrote:
> davidxl wrote:
> > Can you add a test case with both include and exclude list (the intersection of INCLUDE_SET & !EXCLUDE_SET)?
> See the case above this one which has:
> ```
> fun:test*
> !fun:test1
> ```
> Is that what you have in mind?
Right


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

https://reviews.llvm.org/D94820



More information about the cfe-commits mailing list