[PATCH] D126137: [X86] Add support for `-mharden-sls=all`

Craig Topper via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat May 21 21:01:24 PDT 2022


craig.topper added inline comments.


================
Comment at: llvm/lib/Target/X86/X86AsmPrinter.cpp:341
+  MCInst TmpInst;
+  TmpInst.setOpcode(X86::INT3);
+  AsmPrinter::emitBasicBlockEnd(MBB);
----------------
Why is TmpInst created unconditionally and not in the if?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D126137



More information about the cfe-commits mailing list