[PATCH] D12952: Android support for SafeStack
Evgeniy Stepanov via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 17 17:31:47 PDT 2015
eugenis created this revision.
eugenis added reviewers: pcc, echristo.
eugenis added a subscriber: llvm-commits.
eugenis set the repository for this revision to rL LLVM.
Herald added subscribers: srhines, danalbert, tberghammer, aemerson.
Add two new ways of accessing the unsafe stack pointer:
- at a fixed offset from the thread TLS base. This is very similar to StackProtector cookies, but we plan to extend it to other backends (ARM in particular) soon. Bionic-side implementation here:
https://android-review.googlesource.com/170988
- via a function call, as a fallback for platforms that provide neither a fixed TLS slot, nor a reasonable TLS implementation (i.e. not emutls).
Repository:
rL LLVM
http://reviews.llvm.org/D12952
Files:
include/llvm/LinkAllPasses.h
include/llvm/Target/TargetLowering.h
include/llvm/Transforms/Instrumentation.h
lib/CodeGen/Passes.cpp
lib/Target/X86/X86ISelLowering.cpp
lib/Target/X86/X86ISelLowering.h
lib/Target/X86/X86Subtarget.h
lib/Transforms/Instrumentation/SafeStack.cpp
test/Transforms/SafeStack/abi.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12952.35050.patch
Type: text/x-patch
Size: 14905 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150918/4539215a/attachment.bin>
More information about the llvm-commits
mailing list