[PATCH] D39280: [libunwind] Use uint64_t for unw_word_t in ARM EHABI

Martin Storsjö via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 25 01:31:44 PDT 2017


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

This reduces the differences between the EHABI and DWARF cases.

This allows getting rid of some casts in _LIBUNWIND_TRACE_API log lines, making them match what's in UnwindLevel1.c for DWARF.

The only non-obvious detail is in _Unwind_VRS_Get_Internal (called via _Unwind_VRS_Get), where a void pointer is assumed to be uint32_t or uintptr_t (depending on the caller); this can no longer use unw_word_t directly as before.


https://reviews.llvm.org/D39280

Files:
  include/__libunwind_config.h
  include/libunwind.h
  src/Unwind-EHABI.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39280.120203.patch
Type: text/x-patch
Size: 6714 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171025/25d8d2ba/attachment-0001.bin>


More information about the cfe-commits mailing list