diff options
| author | Adrian Prantl <aprantl@apple.com> | 2014-12-22 23:09:14 +0000 |
|---|---|---|
| committer | Adrian Prantl <aprantl@apple.com> | 2014-12-22 23:09:14 +0000 |
| commit | d9e64b6c08e32ee522e8a1f76c88a0c2bb028b90 (patch) | |
| tree | 8fd254a7927abf9b088a7d3f2990fb6aeec3e4fb /llvm/test | |
| parent | e2f66ceed9a241d53158f077c9e887958290135f (diff) | |
| download | bcm5719-llvm-d9e64b6c08e32ee522e8a1f76c88a0c2bb028b90.tar.gz bcm5719-llvm-d9e64b6c08e32ee522e8a1f76c88a0c2bb028b90.zip | |
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.
llvm-svn: 224743
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/DebugInfo/ARM/cfi-eof-prologue.ll | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/test/DebugInfo/ARM/cfi-eof-prologue.ll b/llvm/test/DebugInfo/ARM/cfi-eof-prologue.ll index 5f607eea908..bbd93c94132 100644 --- a/llvm/test/DebugInfo/ARM/cfi-eof-prologue.ll +++ b/llvm/test/DebugInfo/ARM/cfi-eof-prologue.ll @@ -14,7 +14,8 @@ ; The location of the prologue_end marker should not be affected by the presence ; of CFI instructions. -; RUN: llc -O0 -filetype=asm < %s | FileCheck %s +; RUN: llc -O0 -filetype=asm -mtriple=thumbv7-apple-ios < %s | FileCheck %s +; RUN: llc -O0 -filetype=asm -mtriple=thumbv6-apple-ios < %s | FileCheck %s ; ModuleID = 'test1.cpp' target datalayout = "e-m:o-p:32:32-f64:32:64-v64:32:64-v128:32:128-a:0:32-n32-S32" |

