[all-commits] [llvm/llvm-project] 6f7fbd: [xray] Function coverage groups

Ian Levesque via All-commits all-commits at lists.llvm.org
Thu Sep 24 19:10:16 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6f7fbdd2857fc8a7280afbb26fd4e1a6450069e4
      https://github.com/llvm/llvm-project/commit/6f7fbdd2857fc8a7280afbb26fd4e1a6450069e4
  Author: Ian Levesque <ianlevesque at fb.com>
  Date:   2020-09-24 (Thu, 24 Sep 2020)

  Changed paths:
    M clang/include/clang/Basic/CodeGenOptions.def
    M clang/include/clang/Driver/Options.td
    M clang/include/clang/Driver/XRayArgs.h
    M clang/lib/CodeGen/CodeGenFunction.cpp
    M clang/lib/Driver/XRayArgs.cpp
    M clang/lib/Frontend/CompilerInvocation.cpp
    A clang/test/CodeGen/xray-function-groups.cpp
    M llvm/docs/XRay.rst

  Log Message:
  -----------
  [xray] Function coverage groups

Add the ability to selectively instrument a subset of functions by dividing the functions into N logical groups and then selecting a group to cover. By selecting different groups over time you could cover the entire application incrementally with lower overhead than instrumenting the entire application at once.

Differential Revision: https://reviews.llvm.org/D87953




More information about the All-commits mailing list