diff options
| author | David Majnemer <david.majnemer@gmail.com> | 2015-04-17 20:12:09 +0000 |
|---|---|---|
| committer | David Majnemer <david.majnemer@gmail.com> | 2015-04-17 20:12:09 +0000 |
| commit | dcd89368cb921d499ffde64e67995109adfe3fda (patch) | |
| tree | 530606a9d8db9df3004f1553cd8ab54c72cee067 /llvm/lib/CodeGen | |
| parent | db8a58688d83ee315f3bd184276b433b24af59fd (diff) | |
| download | bcm5719-llvm-dcd89368cb921d499ffde64e67995109adfe3fda.tar.gz bcm5719-llvm-dcd89368cb921d499ffde64e67995109adfe3fda.zip | |
[WinEH] Reusing HandlerType entries leads to small CatchHigh values
CatchHigh may be smaller than TryHigh if we reuse an outlined catch
handler for two different invokes with different EH states. We have no
evidence which shows that CatchHigh must be greater than TryHigh or
TryLow. We can revisit this if we turn out to be wrong.
llvm-svn: 235223
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/Win64Exception.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/Win64Exception.cpp b/llvm/lib/CodeGen/AsmPrinter/Win64Exception.cpp index c5f1df88355..8c90bed2b5a 100644 --- a/llvm/lib/CodeGen/AsmPrinter/Win64Exception.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/Win64Exception.cpp @@ -437,7 +437,6 @@ void Win64Exception::emitCXXFrameHandler3Table(const MachineFunction *MF) { std::max(CatchHigh, FuncInfo.CatchHandlerMaxState[HT.Handler]); assert(TBME.TryLow <= TBME.TryHigh); - assert(CatchHigh >= TBME.TryHigh); OS.EmitIntValue(TBME.TryLow, 4); // TryLow OS.EmitIntValue(TBME.TryHigh, 4); // TryHigh OS.EmitIntValue(CatchHigh, 4); // CatchHigh |

