[PATCH] D81402: [AArch64] Extend AArch64SLSHardeningPass to harden BLR instructions.

Kristof Beyls via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 11 23:57:44 PDT 2020


kristof.beyls marked 3 inline comments as done.
kristof.beyls added inline comments.


================
Comment at: llvm/lib/Target/AArch64/AArch64SLSHardening.cpp:208
+      MF.getSubtarget<AArch64Subtarget>().getInstrInfo();
+  // Grab the entry MBB and erase any other blocks. O0 codegen appears to
+  // generate two bbs for the entry block.
----------------
kristof.beyls wrote:
> ostannard wrote:
> > Is this something which could be fixed in ThunkInserter?
> Maybe, but I think that should be done as a separate patch as it's probably target-independent.
I've now posted a fix for this in the ThunkInserter in D81403


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

https://reviews.llvm.org/D81402





More information about the llvm-commits mailing list