[PATCH] D44802: Add the ShadowCallStack pass

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 22 14:08:34 PDT 2018


pcc added inline comments.


================
Comment at: lib/Target/X86/ShadowCallStack.cpp:89
+  const unsigned OffsetReg = X86::R11;
+  assert(!MBB->isLiveIn(X86::R10) && !MBB->isLiveIn(X86::R11));
+
----------------
I think this is possible if the function takes a nest parameter -- probably best to disable the protection in that case for now.


Repository:
  rL LLVM

https://reviews.llvm.org/D44802





More information about the llvm-commits mailing list