Details
Details
- Reviewers
andrew br - Commits
- rS302450: libunwind: update to upstream snapshot r272680
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
contrib/llvm/projects/libunwind/include/__libunwind_config.h | ||
---|---|---|
20 ↗ | (On Diff #18166) | Need to enable this by default, perhaps just by #define _LIBUNWIND_IS_NATIVE_ONLY in this file. |
45 ↗ | (On Diff #18166) | Need _LIBUNWIND_CONTEXT_SIZE and _LIBUNWIND_CURSOR_SIZE for RISC-V. |
contrib/llvm/projects/libunwind/src/Registers.hpp | ||
1073–1074 ↗ | (On Diff #18166) | Needs update to match the other architectures: see http://reviews.llvm.org/rL270692 |
Comment Actions
Do we use this on RISC-V? I see there is a TODO at the bottom of UnwindRegistersSave.S to implement the needed asm function(s).
contrib/llvm/projects/libunwind/include/__libunwind_config.h | ||
---|---|---|
20 ↗ | (On Diff #18166) | Or add CFLAGS+=-D_LIBUNWIND_IS_NATIVE_ONLY to the Makefile. |
45 ↗ | (On Diff #18166) | Do we know the RISC-V sizes? |
Comment Actions
We build it as a stub on RISC-V now, but clearly it does not actually work there yet.
contrib/llvm/projects/libunwind/include/__libunwind_config.h | ||
---|---|---|
20 ↗ | (On Diff #18166) | Yeah, that's a better approach as it will allow us to move to a completely unmodified version in the future. |
45 ↗ | (On Diff #18166) | We can be safe by using the max sizes for now: # define _LIBUNWIND_CONTEXT_SIZE 128 # define _LIBUNWIND_CURSOR_SIZE 140 |