diff --git a/llvm/lib/CodeGen/AsmPrinter/WinException.cpp b/llvm/lib/CodeGen/AsmPrinter/WinException.cpp index 6387e981301d..58103836a098 100644 --- a/llvm/lib/CodeGen/AsmPrinter/WinException.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/WinException.cpp @@ -611,7 +611,6 @@ void WinException::emitCXXFrameHandler3Table(const MachineFunction *MF) { computeIP2StateTable(MF, FuncInfo, IPToStateTable); } else { FuncInfoXData = Asm->OutContext.getOrCreateLSDASymbol(FuncLinkageName); - emitEHRegistrationOffsetLabel(FuncInfo, FuncLinkageName); } int UnwindHelpOffset = 0;