diff options
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/ARMException.cpp')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/ARMException.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/ARMException.cpp b/llvm/lib/CodeGen/AsmPrinter/ARMException.cpp index e04a29fbb42b..de6ebcf0c341 100644 --- a/llvm/lib/CodeGen/AsmPrinter/ARMException.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/ARMException.cpp @@ -19,7 +19,7 @@ #include "llvm/MC/MCStreamer.h" using namespace llvm; -ARMException::ARMException(AsmPrinter *A) : DwarfCFIExceptionBase(A) {} +ARMException::ARMException(AsmPrinter *A) : EHStreamer(A) {} ARMException::~ARMException() = default; @@ -48,6 +48,11 @@ void ARMException::beginFunction(const MachineFunction *MF) { } } +void ARMException::markFunctionEnd() { + if (shouldEmitCFI) + Asm->OutStreamer->emitCFIEndProc(); +} + /// endFunction - Gather and emit post-function exception information. /// void ARMException::endFunction(const MachineFunction *MF) { |