summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/SafeStack/X86
Commit message (Collapse)AuthorAgeFilesLines
* [Fuchsia] Use thread-pointer ABI slots for stack-protector and safe-stackPetr Hosek2017-02-241-0/+3
| | | | | | | | | | | | The Fuchsia ABI defines slots from the thread pointer where the stack-guard value for stack-protector, and the unsafe stack pointer for safe-stack, are stored. This parallels the Android ABI support. Patch by Roland McGrath Differential Revision: https://reviews.llvm.org/D30237 llvm-svn: 296081
* Disable TLS for stack protector on Android API<17.Evgeniy Stepanov2017-02-231-7/+11
| | | | | | The TLS slot did not exist back then. llvm-svn: 296014
* [safestack] Use non-thread-local unsafe stack pointer for Contiki OSDavid L Kreitzer2016-10-141-2/+1
| | | | | | | | Patch by Michael LeMay Differential revision: http://reviews.llvm.org/D19852 llvm-svn: 284254
* [safestack] Move X86-targeted tests into the X86 subdirectory.David L Kreitzer2016-10-1341-0/+2142
| | | | | | | | Patch by Michael LeMay Differential revision: http://reviews.llvm.org/D25340 llvm-svn: 284139
* [safestack] Add canary to unsafe stack framesEvgeniy Stepanov2016-04-112-0/+49
| | | | | | | | Add StackProtector to SafeStack. This adds limited protection against data corruption in the caller frame. Current implementation treats all stack protector levels as -fstack-protector-all. llvm-svn: 266004
* [safestack] Fix a stupid mix-up in the direct-tls code path.Evgeniy Stepanov2015-09-301-6/+6
| | | | llvm-svn: 248863
* Android support for SafeStack.Evgeniy Stepanov2015-09-232-0/+33
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). This is a re-commit of a change in r248357 that was reverted in r248358. llvm-svn: 248405
OpenPOWER on IntegriCloud