[PATCH] D42242: Make libc++abi work with gcc's ARM unwind library
Marshall Clow via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 18 07:15:49 PST 2018
mclow.lists created this revision.
mclow.lists added a reviewer: EricWF.
Herald added subscribers: kristof.beyls, aemerson.
See https://bugs.llvm.org/show_bug.cgi?id=35945, which reports that libc++ doesn't build for the Raspberry PI.
The problem is that the exception class is defined as a `char` in that library, rather than `uint64_t`, as in other libraries.
Same size, same values, different type.
Solution: Pull the code to check the exception class into a routine, and memcpy the field into a `uint64_t` and call the routine everywhere we were previously checking directly.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 7745 bytes
Desc: not available
More information about the cfe-commits