[PATCH] D147636: [libunwind] [SEH] Initialize _msContext with RtlCaptureContext
Martin Storsjö via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 13 02:07:01 PDT 2023
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGebae5622d116: [libunwind] [SEH] Initialize _msContext with RtlCaptureContext (authored by mstorsjo).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D147636/new/
https://reviews.llvm.org/D147636
Files:
libunwind/src/UnwindCursor.hpp
Index: libunwind/src/UnwindCursor.hpp
===================================================================
--- libunwind/src/UnwindCursor.hpp
+++ libunwind/src/UnwindCursor.hpp
@@ -579,6 +579,7 @@
_dispContext.HistoryTable = &_histTable;
// Initialize MS context from ours.
R r(context);
+ RtlCaptureContext(&_msContext);
_msContext.ContextFlags = CONTEXT_CONTROL|CONTEXT_INTEGER|CONTEXT_FLOATING_POINT;
#if defined(_LIBUNWIND_TARGET_X86_64)
_msContext.Rax = r.getRegister(UNW_X86_64_RAX);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147636.513117.patch
Type: text/x-patch
Size: 506 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230413/f96172a1/attachment.bin>
More information about the llvm-commits
mailing list