summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2014-01-27 17:20:25 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2014-01-27 17:20:25 +0000
commite035cf9ce4911d860f2ea972e6703052a9723aea (patch)
tree8f794328095152a49d5f405bbbdb86ab8cc86806 /llvm/lib/CodeGen
parent1b0539c7f642d266536fb132bc5e7a49ec697cf9 (diff)
downloadbcm5719-llvm-e035cf9ce4911d860f2ea972e6703052a9723aea.tar.gz
bcm5719-llvm-e035cf9ce4911d860f2ea972e6703052a9723aea.zip
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 llvm-svn: 200227
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp
index a658d1e420e..0f41b93f994 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp
@@ -113,7 +113,7 @@ void DwarfCFIException::beginFunction(const MachineFunction *MF) {
if (!shouldEmitPersonality && !shouldEmitMoves)
return;
- Asm->OutStreamer.EmitCFIStartProc();
+ Asm->OutStreamer.EmitCFIStartProc(/*IsSimple=*/false);
// Indicate personality routine, if any.
if (!shouldEmitPersonality)
OpenPOWER on IntegriCloud