diff options
| author | Anton Korobeynikov <asl@math.spbu.ru> | 2011-01-14 21:58:08 +0000 |
|---|---|---|
| committer | Anton Korobeynikov <asl@math.spbu.ru> | 2011-01-14 21:58:08 +0000 |
| commit | 9be547cfd3747e30963204187a99b59a11668cc7 (patch) | |
| tree | 1cfd4a2a1d8717fea5879b5886680c8ac3fcb405 /llvm/lib/CodeGen/AsmPrinter/DwarfTableException.cpp | |
| parent | 4d9de6be4b56c0c625e32492f2d9e69e681aa49f (diff) | |
| download | bcm5719-llvm-9be547cfd3747e30963204187a99b59a11668cc7.tar.gz bcm5719-llvm-9be547cfd3747e30963204187a99b59a11668cc7.zip | |
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
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfTableException.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfTableException.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfTableException.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfTableException.cpp index ccf8f9a2116..751901183cd 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfTableException.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfTableException.cpp @@ -277,7 +277,7 @@ void DwarfTableException::EmitFDE(const FunctionEHFrameInfo &EHFrameInfo) { /// EndModule - Emit all exception information that should come after the /// content. void DwarfTableException::EndModule() { - if (Asm->MAI->getExceptionHandlingType() != ExceptionHandling::Dwarf) + if (!Asm->MAI->isExceptionHandlingDwarf()) return; if (!shouldEmitMovesModule && !shouldEmitTableModule) |

