[all-commits] [llvm/llvm-project] 14f870: [xray][clang] Always add xray-skip-entry/exit and ...

Ian Levesque via All-commits all-commits at lists.llvm.org
Tue Feb 11 14:01:08 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 14f870366a93ba0c6311883d900e24339681ba76
      https://github.com/llvm/llvm-project/commit/14f870366a93ba0c6311883d900e24339681ba76
  Author: Ian Levesque <ianlevesque at fb.com>
  Date:   2020-02-11 (Tue, 11 Feb 2020)

  Changed paths:
    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-attributes-skip-entry-exit.cpp
    M clang/test/CodeGen/xray-ignore-loops.cpp
    A clang/test/Driver/XRay/xray-ignore-loops-flags.cpp

  Log Message:
  -----------
  [xray][clang] Always add xray-skip-entry/exit and xray-ignore-loops attrs

The function attributes xray-skip-entry, xray-skip-exit, and
xray-ignore-loops were only being applied if a function had an
xray-instrument attribute, but they should apply if xray is enabled
globally too.

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




More information about the All-commits mailing list