MC: Add support for .cfi_startproc simple
authorDavid Majnemer <david.majnemer@gmail.com>
Mon, 27 Jan 2014 17:20:25 +0000 (17:20 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Mon, 27 Jan 2014 17:20:25 +0000 (17:20 +0000)
commit0fd23cd6c240999baa6d34f48b8dce45bb2f3cc6
treeb25dec392a84f045a48e0d1d78c511cc7f0fa908
parentbb0bb73da142c765506e2bcd18d68edbfb4e98e0
MC: Add support for .cfi_startproc simple

This commit allows LLVM MC to process .cfi_startproc directives when
they are followed by an additional `simple' identifier. This signals to
elide the emission of target specific CFI instructions that would
normally occur initially.

This fixes PR16587.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200227 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCDwarf.h
include/llvm/MC/MCStreamer.h
lib/CodeGen/AsmPrinter/DwarfCFIException.cpp
lib/MC/MCAsmStreamer.cpp
lib/MC/MCDwarf.cpp
lib/MC/MCParser/AsmParser.cpp
lib/MC/MCStreamer.cpp
test/MC/ELF/cfi.s