[PATCH] D19852: [safestack] Use non-thread-local unsafe stack pointer for Contiki OS
Eric Christopher via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 28 14:31:18 PDT 2016
echristo added a subscriber: echristo.
echristo accepted this revision.
echristo added a reviewer: echristo.
echristo added a comment.
Seems reasonable.
================
Comment at: lib/Target/X86/X86ISelLowering.cpp:2027
@@ -2026,1 +2026,3 @@
Value *X86TargetLowering::getSafeStackPointerLocation(IRBuilder<> &IRB) const {
+ if (Subtarget.isTargetContiki())
+ return getDefaultSafeStackPointerLocation(IRB, false);
----------------
Not sure that adding isTargetContiki to the subtarget is worth it here, but ok.
https://reviews.llvm.org/D19852
More information about the llvm-commits
mailing list