Change unw_word_t to always have the same size as the pointer size
authorMartin Storsjo <martin@martin.st>
Mon, 30 Oct 2017 19:06:34 +0000 (19:06 +0000)
committerMartin Storsjo <martin@martin.st>
Mon, 30 Oct 2017 19:06:34 +0000 (19:06 +0000)
commitc18d5c05cbcc9fe7f8f741338bb835417108e17b
treea305c896949b6c2983452ddfcba9f3b8eaa9a85d
parentddfdb32b302da2cf1b20d4c64444f9f58d5b8533
Change unw_word_t to always have the same size as the pointer size

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 i386 at least.

Differential Revision: https://reviews.llvm.org/D39365

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