[ARM][Debug Info] Restore emitting of .cfi_def_cfa_offset for functions without stack...
authorSergey Dmitrouk <sdmitrouk@accesssoftek.com>
Wed, 8 Apr 2015 10:10:12 +0000 (10:10 +0000)
committerSergey Dmitrouk <sdmitrouk@accesssoftek.com>
Wed, 8 Apr 2015 10:10:12 +0000 (10:10 +0000)
commit3cc62b371502c973309f72268063e94bc627082d
tree9c31fee06ef0d63ce74be9b99ab353185eead8c7
parent7567a10c47940b950b3c33d2377262a62487e874
[ARM][Debug Info] Restore emitting of .cfi_def_cfa_offset for functions without stack frame

Summary: Looks like new code from [[ http://reviews.llvm.org/rL222057 | rL222057 ]] doesn't account for early `return` in `ARMFrameLowering::emitPrologue`, which leads to loosing `.cfi_def_cfa_offset` directive for functions without stack frame.

Reviewers: echristo, rengolin, asl, t.p.northover

Reviewed By: t.p.northover

Subscribers: llvm-commits, rengolin, aemerson

Differential Revision: http://reviews.llvm.org/D8606

llvm-svn: 234399
llvm/lib/Target/ARM/ARMFrameLowering.cpp
llvm/test/CodeGen/ARM/debug-info-no-frame.ll [new file with mode: 0644]