aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
diff options
context:
space:
mode:
authorNick Desaulniers <ndesaulniers@google.com>2021-06-18 13:58:34 -0700
committerNick Desaulniers <ndesaulniers@google.com>2021-06-18 13:58:34 -0700
commitbef299286104c2b6383a43b9d1eb0e47838cb5b6 (patch)
tree6eeaaf747171dc4afff88359174388364459ca76 /llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
parent193e41c987127aad86d0380df83e67a85266f1f1 (diff)
downloadllvm-bef299286104c2b6383a43b9d1eb0e47838cb5b6.zip
llvm-bef299286104c2b6383a43b9d1eb0e47838cb5b6.tar.gz
llvm-bef299286104c2b6383a43b9d1eb0e47838cb5b6.tar.bz2
[GCOVProfiling] don't profile Fn's w/ noprofile attribute
Similar to D104475, the Linux kernel would like to avoid compiler generated code in certain functions. The no_profile function attribute can be used in C to generate the the noprofile fn attr in IR. Respect that from GCOVProfiling. Link: https://lore.kernel.org/lkml/CAKwvOdmPTi93n2L0_yQkrzLdmpxzrOR7zggSzonyaw2PGshApw@mail.gmail.com/ Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D104257
Diffstat (limited to 'llvm/lib/Transforms/Utils/BasicBlockUtils.cpp')
0 files changed, 0 insertions, 0 deletions