diff options
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/WinException.h')
| -rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/WinException.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/WinException.h b/llvm/lib/CodeGen/AsmPrinter/WinException.h index ac06db2a2fd..37d2ab6ae4e 100644 --- a/llvm/lib/CodeGen/AsmPrinter/WinException.h +++ b/llvm/lib/CodeGen/AsmPrinter/WinException.h @@ -47,7 +47,9 @@ class LLVM_LIBRARY_VISIBILITY WinException : public EHStreamer { /// tables. void emitExceptHandlerTable(const MachineFunction *MF); - void extendIP2StateTable(const MachineFunction *MF, WinEHFuncInfo &FuncInfo); + void computeIP2StateTable( + const MachineFunction *MF, WinEHFuncInfo &FuncInfo, + SmallVectorImpl<std::pair<const MCExpr *, int>> &IPToStateTable); /// Emits the label used with llvm.x86.seh.recoverfp, which is used by /// outlined funclets. @@ -56,6 +58,7 @@ class LLVM_LIBRARY_VISIBILITY WinException : public EHStreamer { const MCExpr *create32bitRef(const MCSymbol *Value); const MCExpr *create32bitRef(const Value *V); + const MCExpr *getLabelPlusOne(MCSymbol *Label); public: //===--------------------------------------------------------------------===// |

