[libcxx-commits] [PATCH] D86612: [libunwind] Enable the SEH unwinding codepaths if building in MSVC mode

Martin Storsjö via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Aug 26 04:39:10 PDT 2020


mstorsjo created this revision.
mstorsjo added a reviewer: compnerd.
Herald added subscribers: llvm-commits, aprantl.
Herald added projects: LLVM, libunwind.
Herald added a reviewer: libunwind.
mstorsjo requested review of this revision.

The `__SEH__` built-in define is only defined in mingw mode; in MSVC mode it's implied.

This makes a libunwind built with clang-cl in MSVC mode actually do unwinding using the SEH information instead of DWARF.

After D86041 <https://reviews.llvm.org/D86041>, this should make the now successfully built libunwind actually do the right thing as well.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D86612

Files:
  libunwind/include/__libunwind_config.h
  libunwind/include/libunwind.h
  libunwind/include/unwind.h
  libunwind/src/Unwind-seh.cpp
  libunwind/src/config.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86612.287924.patch
Type: text/x-patch
Size: 4388 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20200826/ecfdb1cb/attachment-0001.bin>


More information about the libcxx-commits mailing list