[all-commits] [llvm/llvm-project] 68a1f0: [xray] Honor xray-never function-instrument attribute

Ian Levesque via All-commits all-commits at lists.llvm.org
Tue Jan 19 15:52:34 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 68a1f09107a4b0c32fe84063ea1c5a902c8817a9
      https://github.com/llvm/llvm-project/commit/68a1f09107a4b0c32fe84063ea1c5a902c8817a9
  Author: Ian Levesque <ianlevesque at fb.com>
  Date:   2021-01-19 (Tue, 19 Jan 2021)

  Changed paths:
    M llvm/lib/CodeGen/XRayInstrumentation.cpp
    M llvm/test/CodeGen/AArch64/xray-attribute-instrumentation.ll

  Log Message:
  -----------
  [xray] Honor xray-never function-instrument attribute

function-instrument=xray-never wasn't actually honored before. We were
getting lucky that it worked because CodeGenFunction would omit the
other xray attributes when a function was annotated with
xray_never_instrument. This patch adds proper support.

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




More information about the All-commits mailing list