From 9be547cfd3747e30963204187a99b59a11668cc7 Mon Sep 17 00:00:00 2001 From: Anton Korobeynikov Date: Fri, 14 Jan 2011 21:58:08 +0000 Subject: Add a possibility to switch between CFI directives- and table-based frame description emission. Currently all the backends use table-based stuff. llvm-svn: 123476 --- llvm/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp') diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp index 93c965930f1..68be2eed8f0 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp @@ -48,7 +48,7 @@ DwarfCFIException::~DwarfCFIException() {} /// EndModule - Emit all exception information that should come after the /// content. void DwarfCFIException::EndModule() { - if (Asm->MAI->getExceptionHandlingType() != ExceptionHandling::Dwarf) + if (!Asm->MAI->isExceptionHandlingDwarf()) return; if (!shouldEmitTableModule) -- cgit v1.2.3