[safestack] Fix compiler crash in the presence of stack restores.
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Thu, 24 Sep 2015 01:23:51 +0000 (01:23 +0000)
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Thu, 24 Sep 2015 01:23:51 +0000 (01:23 +0000)
commitb7afd4e7e9744d83da95cafbaaf7530723029784
tree4fbc5dcecc47bd307035719100f080368699ac71
parent4769a7486b277ecdcf30e66d63de1d809c594af0
[safestack] Fix compiler crash in the presence of stack restores.

A use can be emitted before def in a function with stack restore
points but no static allocas.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@248455 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Instrumentation/SafeStack.cpp
test/Transforms/SafeStack/ARM/setjmp.ll [new file with mode: 0644]