[PATCH] D40482: [X86] Instrument Control Flow For Indirect Branch Tracking
Peter Collingbourne via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 29 13:00:30 PST 2017
pcc added inline comments.
================
Comment at: include/llvm/Target/TargetOptions.h:221
+ /// mechanisms. For example: in X86 - Indirect Branch Tracking.
+ unsigned InstrumentControlFlow : 1;
+
----------------
This doesn't seem like it needs to be a TargetOption. Can you test for the function attribute directly in your pass?
Repository:
rL LLVM
https://reviews.llvm.org/D40482
More information about the llvm-commits
mailing list