llvm/libunwind
Adrian Cruceru 9d74699edc [rust] Changes needed for 'x86_64-fortanix-unknown-sgx' nightly target.
Code is guarded via defines to enable only if 'RUST_SGX' is present.

Main logic is in libunwind/src/AddressSpace.hpp
We use 6 symbols to figure out where eh_frame / eh_frame_hdr is at runtime when loaded in an SGX enclave. (EH symbols + IMAGE base)
These are set by 'fortanix-sgx-tools'.

As notes:
- Target above at the moment uses a pre-compiled libunwind.a from forked repo.
- Goal of these changes is to use official llvm with patch.
- Changes in rust-lang to use this are planned if/when this is accepted.
- Ticket: fortanix/rust-sgx#174
- Original ported changes: llvm/llvm-project@release/5.x...fortanix:release/5.x
2022-12-07 08:39:47 +01:00
..
cmake [CMake] Fix -Wstrict-prototypes 2022-11-10 16:53:39 -08:00
docs [rust] Changes needed for 'x86_64-fortanix-unknown-sgx' nightly target. 2022-12-07 08:39:47 +01:00
include [libunwind] Fix SEH unwinding on ARM 2022-06-06 23:23:35 +03:00
src [rust] Changes needed for 'x86_64-fortanix-unknown-sgx' nightly target. 2022-12-07 08:39:47 +01:00
test [libunwind][SystemZ] Use process_vm_readv to avoid potential segfaults 2022-07-18 16:54:48 +02:00
.clang-format
CMakeLists.txt [rust] Changes needed for 'x86_64-fortanix-unknown-sgx' nightly target. 2022-12-07 08:39:47 +01:00
LICENSE.TXT
README_RUST_SGX.md [rust] Changes needed for 'x86_64-fortanix-unknown-sgx' nightly target. 2022-12-07 08:39:47 +01:00