The unsafe stack pointer is only popped in moveStaticAllocasToUnsafeStack so it won't happen if there are no static allocas.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D16339
[safestack] Make sure the unsafe stack pointer is popped in all cases ClosedPublic Authored by zaks.anna on Jan 19 2016, 5:56 PM.
Details Summary The unsafe stack pointer is only popped in moveStaticAllocasToUnsafeStack so it won't happen if there are no static allocas.
Diff Detail Event TimelineThis revision is now accepted and ready to land.Jan 20 2016, 1:14 PM Closed by commit rL259447: [safestack] Make sure the unsafe stack pointer is popped in all cases (authored by zaks). · Explain WhyFeb 1 2016, 5:07 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 45330 lib/Transforms/Instrumentation/SafeStack.cpp
test/Transforms/SafeStack/ARM/setjmp.ll
test/Transforms/SafeStack/dynamic-alloca.ll
test/Transforms/SafeStack/setjmp2.ll
|