[llvm] [X86] Add support for indirect branch tracking in jump tables (PR #77679)

Nicholas Mosier via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 13 09:39:06 PST 2024


================
@@ -199,6 +199,7 @@ void initializeX86ReturnThunksPass(PassRegistry &);
 void initializeX86SpeculativeExecutionSideEffectSuppressionPass(PassRegistry &);
 void initializeX86SpeculativeLoadHardeningPassPass(PassRegistry &);
 void initializeX86TileConfigPass(PassRegistry &);
+void initializeX86IndirectBranchTrackingPassPass(PassRegistry &);
----------------
nmosier wrote:

Actually, I rewrote the test at the IR-level so running the x86-ibt pass via `-run-pass=x86-ibt` is no longer necessary. Thus, the above change (as well as `INITIALIZE_PASS(X86IndirectBranchTracking, ...)`), etc.) is no longer necessary, so I've reverted those.

https://github.com/llvm/llvm-project/pull/77679


More information about the llvm-commits mailing list