Add CFI directives to asm blocks
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 48/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- rust
- Lĩnh vực
- embedded-iot
Hướng nghiên cứu
Start by locating the assembly blocks in the cortex-m crate and read the linked ARM guidance and related rust-embedded/aarch32 issue. Use the reported probe-rs unwind error as a reference when checking the affected paths. Done means the debugger can unwind through the relevant assembler functions without the reported CFA error.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
See https://support.arm.com/documentation/107976/22-1-0/Debug-information-for-your-application/How-to-get-a-backtrace-through-AArch32-assembler-functions for details on telling the debugger about where functions start and end, and when LR is corrupted.
See also https://github.com/rust-embedded/aarch32/issues/230
This might resolve the following probe-rs error:
Firmware exited with: Unknown runtime error
ERROR probe_rs_debug::debug_info: Other("UNWIND: Tried to unwind `RegisterRule` at CFA = None.")
Core 0
Frame 0: syscall1 @ 0x16c4 inline
/Users/jonathan/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-semihosting-app/src/bin/panic.rs:9:1
<snip stack frames>
Frame 9: Reset : ERROR: UNWIND: Tried to unwind `RegisterRule` at CFA = None. @ 0x13a
Error: Unknown runtime error
- Ngôn ngữ chính
- Rust
- Star
- 1k
- Fork
- 202
- Merge trung bình
- 1 ngày 4 giờ
- Pull request đã merge (30 ngày)
- 2
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của rust-embedded/cortex-m
-
Deprecation of `bare-metal`Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
rust-embedded/cortex-m#651 · 5 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
rust-embedded/cortex-m#637 ·
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
rust-embedded/cortex-m#511 · 2 bình luận ·
-
Rename default branch to `main`Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 55/100
rust-embedded/cortex-m#700 · 1 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
rust-embedded/cortex-m#694 · 1 bình luận ·
Tất cả issue của rust-embedded/cortex-m
Issue tương tự
-
area:docs documentation good first issue priority:low
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 80/100
rtk-ai/rtk#4900 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement performance rust
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày
-
comp-view potential bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
ClickHouse/ClickHouse#128410 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Save As onto the project's own .snxprj overwrites it with a schematic and the project can no longer openCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởarea: app data-loss priority: high type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
lan_bot: 13 of 15 tests fail on main (minecraft:dialog entries carry data with the known pack)Có thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởskip-release
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
horizon-rust/horizon#5505 ·
Maintainer thường phản hồi trong vòng 1 ngày