[PATCH] D106699: [NewPM] Add CrossDSOCFI pass irrespective of LTO optimization level

Arthur Eubanks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 23 12:22:52 PDT 2021


aeubanks accepted this revision.
aeubanks added a comment.
This revision is now accepted and ready to land.

thanks!



================
Comment at: llvm/lib/Passes/PassBuilder.cpp:1654-1655
+  // Create a function that performs CFI checks for cross-DSO calls with targets
+  // in the current module.  (Note: Add this passs irrespective of the
+  // optimization level).
+  MPM.addPass(CrossDSOCFIPass());
----------------
this comment seems unnecessary, many passes are required


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D106699/new/

https://reviews.llvm.org/D106699



More information about the llvm-commits mailing list