projects
/
platform
/
upstream
/
coreclr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7ab1c1
)
Exception handling needs a full context here to restore properly
author
Geoff Norton
<grompf@gmail.com>
Sun, 1 Mar 2015 05:44:40 +0000
(21:44 -0800)
committer
Geoff Norton
<grompf@gmail.com>
Sun, 1 Mar 2015 05:44:40 +0000
(21:44 -0800)
src/vm/exceptionhandling.cpp
patch
|
blob
|
history
diff --git
a/src/vm/exceptionhandling.cpp
b/src/vm/exceptionhandling.cpp
index
5feb07c
..
da1bd9a
100644
(file)
--- a/
src/vm/exceptionhandling.cpp
+++ b/
src/vm/exceptionhandling.cpp
@@
-4378,7
+4378,7
@@
VOID DECLSPEC_NORETURN DispatchManagedException(PAL_SEHException& ex)
ULONG64 stackLowAddress = (ULONG64)PAL_GetStackLimit();
// TODO: is there a better way to get the first managed frame?
- originalExceptionContext.ContextFlags = CONTEXT_
CONTROL | CONTEXT_INTEGER
;
+ originalExceptionContext.ContextFlags = CONTEXT_
FULL
;
GetThread()->GetThreadContext(&originalExceptionContext);
controlPc = Thread::VirtualUnwindToFirstManagedCallFrame(&originalExceptionContext);