[PATCH] D39365: [libunwind] Change unw_word_t to always have the same size as the pointer size

Martin Storsjö via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 27 02:13:03 PDT 2017


mstorsjo created this revision.
Herald added subscribers: kristof.beyls, aemerson.

This matches the original libunwind API. This also unifies the type between ARM EHABI and the other configurations, and allows getting rid of a number of casts in log messages.

The cursor size updates for ppc and or1k are untested, but unw_proc_info_t shrinks by 4 uint64_t units on 32 bit platforms.


https://reviews.llvm.org/D39365

Files:
  include/__libunwind_config.h
  include/libunwind.h
  src/Unwind-EHABI.cpp
  src/UnwindLevel1-gcc-ext.c
  src/UnwindLevel1.c
  src/libunwind.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39365.120562.patch
Type: text/x-patch
Size: 10732 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171027/5116d5e5/attachment.bin>


More information about the cfe-commits mailing list