[PATCH] D55763: [Sparc] Add Sparc V8 support
Daniel Cederman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 10 05:13:35 PST 2019
dcederman updated this revision to Diff 181033.
dcederman added a comment.
For me native support is enough, so I removed the Sparc define from the !_LIBUNWIND_IS_NATIVE_ONLY section. That should make it compile with `-DLIBUNWIND_ENABLE_CROSS_UNWINDING=ON`.
I did not see an easy way to get information about the correct architecture in parseInstructions(). If someone has a suggestion on how to best provide this information (extend the Register class with a getArch() function?) I could try it out in a subsequent patch.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D55763/new/
https://reviews.llvm.org/D55763
Files:
include/__libunwind_config.h
include/libunwind.h
src/DwarfInstructions.hpp
src/DwarfParser.hpp
src/Registers.hpp
src/UnwindCursor.hpp
src/UnwindRegistersRestore.S
src/UnwindRegistersSave.S
src/assembly.h
src/libunwind.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55763.181033.patch
Type: text/x-patch
Size: 12054 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190110/a967d980/attachment.bin>
More information about the llvm-commits
mailing list