[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 12:21:50 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;
----------------
Can you add a test case with both include and exclude list (the intersection of INCLUDE_SET & !EXCLUDE_SET)?


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

https://reviews.llvm.org/D94820



More information about the cfe-commits mailing list