[llvm-dev] Accessing '__attribute__((noinstrument))' during lowering

Martin J. O'Riordan via llvm-dev llvm-dev at lists.llvm.org
Tue Dec 20 02:04:42 PST 2016


Is it possible to find whether a function has the 'noinstrument' attribute
during Target lowering?  I would like to check if this is present on a
function quite late in the process when I am performing normal Target
lowering and Target Frame lowering actions, but I can't find the appropriate
query in the 'MachineFunction' or 'MachineFunctionInfo' interfaces.

 

Thanks,

 

            MartinO

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20161220/40e31129/attachment.html>


More information about the llvm-dev mailing list