Displaying 1 result from an estimated 1 matches for "trylow".
2015 May 13
2
[LLVMdev] [WinEH] A hiccup for the Windows C++ exception handling
.../ EH state = -1
try {
// EH state = 0
try {
// EH state = 1
throw 1;
} catch(...) {
// EH state = 2
throw;
}
// EH state = 0
} catch (...) {
// EH state = 3
}
// EH state = -1
}
That would give us the following try map entries:
Inner catch { TryLow = 1, TryHigh = 1, CatchHigh = 2 }
Outer catch { TryLow = 0, TryHigh = 2, CatchHigh = 3 }
Unfortunately, we can't deduce this from the IR because the outer catch handler is only ever seen to catch exceptions from within the inner catch. So we end up producing a try map like this. (Even this re...