[PATCH] D77124: Handle CET for -exception-model sjlj

LuoYuanke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 8 23:12:53 PDT 2020


LuoYuanke added inline comments.


================
Comment at: llvm/lib/Target/X86/X86IndirectBranchTracking.cpp:145
+        else
+          Changed |= addENDBR(MBB, I);
+        EHPadIBTNeeded = false;
----------------
Can you comments with an example to elaborate which pointer endbr is needed? Do we need to insert endbr on each EHPad? Two EHPad must be in different MBB, right?


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

https://reviews.llvm.org/D77124





More information about the llvm-commits mailing list