[PATCH] D16339: [safestack] Make sure the unsafe stack pointer is popped in all cases
Anna Zaks via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 19 17:56:44 PST 2016
zaks.anna created this revision.
zaks.anna added reviewers: pcc, eugenis.
zaks.anna added subscribers: kubabrecka, llvm-commits.
The unsafe stack pointer is only popped in moveStaticAllocasToUnsafeStack so it won't happen if there are no static allocas.
Fixes https://llvm.org/bugs/show_bug.cgi?id=26122
http://reviews.llvm.org/D16339
Files:
lib/Transforms/Instrumentation/SafeStack.cpp
test/Transforms/SafeStack/ARM/setjmp.ll
test/Transforms/SafeStack/dynamic-alloca.ll
test/Transforms/SafeStack/setjmp2.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16339.45330.patch
Type: text/x-patch
Size: 7050 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160120/5d4e618a/attachment.bin>
More information about the llvm-commits
mailing list