Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upstream LLVM libunwind patch for SGX #135077

Open
nikic opened this issue Jan 3, 2025 · 2 comments
Open

Upstream LLVM libunwind patch for SGX #135077

nikic opened this issue Jan 3, 2025 · 2 comments
Labels
A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. C-cleanup Category: PRs that clean code up or issues documenting cleanup. O-SGX Target: SGX

Comments

@nikic
Copy link
Contributor

nikic commented Jan 3, 2025

Our LLVM fork currently carries a single patch, which adds support for SGX to libunwind: rust-lang/llvm-project@29e82b2

This patch should be upstreamed to LLVM (in some form that is acceptable for upstream).

cc @jethrogb @AdrianCX

@nikic nikic added A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. C-bug Category: This is a bug. O-SGX Target: SGX labels Jan 3, 2025
@rustbot rustbot added the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Jan 3, 2025
@jieyouxu jieyouxu added C-cleanup Category: PRs that clean code up or issues documenting cleanup. and removed needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. C-bug Category: This is a bug. labels Jan 3, 2025
@joboet
Copy link
Member

joboet commented Jan 3, 2025

Alternatively, SGX could use the unwinding crate like Xous currently does.

@raoulstrackx
Copy link
Contributor

I'll look into this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. C-cleanup Category: PRs that clean code up or issues documenting cleanup. O-SGX Target: SGX
Projects
None yet
Development

No branches or pull requests

5 participants