[PATCH] D105968: [libunwind][CET] Support exception handling stack unwind in CET environment

xiongji90 via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 15 23:17:23 PDT 2021


xiongji90 updated this revision to Diff 359224.
xiongji90 added a comment.

Use scratch register %rcx for indirect jumping to landing pad, there are 2 reasons for this:

1. it is safer since red zone may be unavailable
2. align with 32bit mode


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D105968/new/

https://reviews.llvm.org/D105968

Files:
  libunwind/CMakeLists.txt
  libunwind/src/CMakeLists.txt
  libunwind/src/Registers.hpp
  libunwind/src/UnwindLevel1.c
  libunwind/src/UnwindRegistersRestore.S
  libunwind/src/UnwindRegistersSave.S
  libunwind/src/assembly.h
  libunwind/src/cet_unwind.h
  libunwind/test/libunwind/test/config.py
  libunwind/test/lit.site.cfg.in

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105968.359224.patch
Type: text/x-patch
Size: 12557 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210716/1ed2bd1d/attachment.bin>


More information about the llvm-commits mailing list