llvm-6502/lib
Mark Seaborn 66aefa805b ARM MC: Fix the initial DWARF CFI unwind info at the start of a function
This brings MC into line with GNU 'as' on ARM, and it brings the ARM
target into line with most other LLVM targets, which declare the
initial CFI state with addInitialFrameState().

Without this, functions generated with .cfi_startproc/endproc on ARM
will tend to cause GDB to abort with:
  gdb/dwarf2-frame.c:1132: internal-error: Unknown CFA rule.

I've also tested this by comparing the output of "readelf -w" on the
object files produced by llvm-mc and gas when given the .s file added
here.

This change is part of addressing PR18636.

Differential Revision: http://llvm-reviews.chandlerc.com/D2597

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200255 91177308-0d34-0410-b5e6-96231b3b80d8
2014-01-27 22:38:14 +00:00
..
Analysis Fix crasher introduced in r200203 and caught by a libc++ buildbot. Don't assume that getMulExpr returns a SCEVMulExpr, it may have simplified it to something else! 2014-01-27 10:47:44 +00:00
AsmParser Add an inalloca flag to allocas 2014-01-17 23:58:17 +00:00
Bitcode Make parseBitcodeFile return an ErrorOr<Module *>. 2014-01-15 01:08:23 +00:00
CodeGen Fix sext(setcc) -> select_cc using wrong type for setcc. 2014-01-27 21:41:54 +00:00
DebugInfo [Sparc] Add support for parsing DW_CFA_GNU_window_save. 2014-01-26 05:13:44 +00:00
ExecutionEngine Fix known typos 2014-01-24 17:20:08 +00:00
IR Fix llvm-dis to print the inalloca bit on allocas. 2014-01-25 01:24:06 +00:00
IRReader Make parseBitcodeFile return an ErrorOr<Module *>. 2014-01-15 01:08:23 +00:00
Linker Reapply r194218 with fix: 2014-01-16 06:29:36 +00:00
LTO Construct the MCStreamer before constructing the MCTargetStreamer. 2014-01-26 06:06:37 +00:00
MC MC: Add support for .cfi_startproc simple 2014-01-27 17:20:25 +00:00
Object llvm-readobj: add support for PE32+ (Windows 64 bit executable). 2014-01-26 04:15:52 +00:00
Option
Support Roll back the ConstStringRef change for now 2014-01-27 05:24:39 +00:00
TableGen
Target ARM MC: Fix the initial DWARF CFI unwind info at the start of a function 2014-01-27 22:38:14 +00:00
Transforms [vectorize] Initial version of respecting PGO in the vectorizer: treat 2014-01-27 13:11:50 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile