about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-01-31 02:10:45 +0100
committerGitHub <noreply@github.com>2019-01-31 02:10:45 +0100
commitfb7721a5944967df57a5d038952190681327399b (patch)
tree9831d5dc5e1c2b4de71cb7b6aa833c00f235a4d1 /src/rustllvm/RustWrapper.cpp
parente8173a654db41b5b3615cab052a60edb1ac63f08 (diff)
parenta75ae00c63ad2859351e9682026462048f1cf83e (diff)
downloadrust-fb7721a5944967df57a5d038952190681327399b.tar.gz
rust-fb7721a5944967df57a5d038952190681327399b.zip
Rollup merge of #57971 - jethrogb:jb/sgx-panic, r=alexcrichton
SGX target: improve panic & exit handling

Implement this part of the spec:

> The enclave must not rely on userspace to terminate other threads still running. Similarly, the enclave must not trust that it will no longer be entered by userspace, and it must safeguard against that in the entrypoints.

Also use `UserRef` to access panic buffer

r? @alexcrichton

cc @VardhanThigle
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions