OSDN Git Service

Thumb1 frame lowering: Mark CFI instructions with the FrameSetup flag.
authorAdrian Prantl <aprantl@apple.com>
Mon, 22 Dec 2014 23:09:14 +0000 (23:09 +0000)
committerAdrian Prantl <aprantl@apple.com>
Mon, 22 Dec 2014 23:09:14 +0000 (23:09 +0000)
commitf5a21eaa186efd2999b357de7b57e261f72a169b
treeac5cdc078c12918c58911b3f7c7861c202544b4d
parent67924e9af8de5e04fe21e11576646ea95ca76aef
Thumb1 frame lowering: Mark CFI instructions with the FrameSetup flag.

Followup to r224294:

ARM/AArch64: Attach the FrameSetup MIFlag to CFI instructions.
Debug info marks the first instruction without the FrameSetup flag
as being the end of the function prologue. Any CFI instructions in the
middle of the function prologue would cause debug info to end the prologue
too early and worse, attach the line number of the CFI instruction, which
incidentally is often 0.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224743 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/Thumb1FrameLowering.cpp
test/DebugInfo/ARM/cfi-eof-prologue.ll