Skip to content

Commit

Permalink
Merge pull request #336 from apache/newer-compiler-03-30
Browse files Browse the repository at this point in the history
compiler: support rustc 2021-03-30
  • Loading branch information
volcano0dr authored Apr 2, 2021
2 parents 4826a26 + e8fa0d3 commit c51158c
Show file tree
Hide file tree
Showing 68 changed files with 1,300 additions and 258 deletions.
11 changes: 9 additions & 2 deletions samplecode/backtrace/enclave/x86_64-unknown-linux-sgx.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"arch": "x86_64",
"cpu": "x86-64",
"data-layout": "e-m:e-i64:64-f80:128-n8:16:32:64-S128",
"data-layout": "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128",
"dynamic-linking": true,
"env": "sgx",
"exe-allocation-crate": "alloc_system",
Expand All @@ -22,7 +22,14 @@
]
},
"relro-level": "full",
"stack-probes": true,
"stack-probes": {
"kind": "inline-or-call",
"min-llvm-version-for-inline": [
11,
0,
1
]
},
"target-c-int-width": "32",
"target-endian": "little",
"target-family": "unix",
Expand Down
11 changes: 9 additions & 2 deletions samplecode/crypto/enclave/x86_64-unknown-linux-sgx.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"arch": "x86_64",
"cpu": "x86-64",
"data-layout": "e-m:e-i64:64-f80:128-n8:16:32:64-S128",
"data-layout": "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128",
"dynamic-linking": true,
"env": "sgx",
"exe-allocation-crate": "alloc_system",
Expand All @@ -22,7 +22,14 @@
]
},
"relro-level": "full",
"stack-probes": true,
"stack-probes": {
"kind": "inline-or-call",
"min-llvm-version-for-inline": [
11,
0,
1
]
},
"target-c-int-width": "32",
"target-endian": "little",
"target-family": "unix",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"arch": "x86_64",
"cpu": "x86-64",
"data-layout": "e-m:e-i64:64-f80:128-n8:16:32:64-S128",
"data-layout": "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128",
"dynamic-linking": true,
"env": "sgx",
"exe-allocation-crate": "alloc_system",
Expand All @@ -22,7 +22,14 @@
]
},
"relro-level": "full",
"stack-probes": true,
"stack-probes": {
"kind": "inline-or-call",
"min-llvm-version-for-inline": [
11,
0,
1
]
},
"target-c-int-width": "32",
"target-endian": "little",
"target-family": "unix",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"arch": "x86_64",
"cpu": "x86-64",
"data-layout": "e-m:e-i64:64-f80:128-n8:16:32:64-S128",
"data-layout": "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128",
"dynamic-linking": true,
"env": "sgx",
"exe-allocation-crate": "alloc_system",
Expand All @@ -22,7 +22,14 @@
]
},
"relro-level": "full",
"stack-probes": true,
"stack-probes": {
"kind": "inline-or-call",
"min-llvm-version-for-inline": [
11,
0,
1
]
},
"target-c-int-width": "32",
"target-endian": "little",
"target-family": "unix",
Expand Down
11 changes: 9 additions & 2 deletions samplecode/file/enclave/x86_64-unknown-linux-sgx.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"arch": "x86_64",
"cpu": "x86-64",
"data-layout": "e-m:e-i64:64-f80:128-n8:16:32:64-S128",
"data-layout": "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128",
"dynamic-linking": true,
"env": "sgx",
"exe-allocation-crate": "alloc_system",
Expand All @@ -22,7 +22,14 @@
]
},
"relro-level": "full",
"stack-probes": true,
"stack-probes": {
"kind": "inline-or-call",
"min-llvm-version-for-inline": [
11,
0,
1
]
},
"target-c-int-width": "32",
"target-endian": "little",
"target-family": "unix",
Expand Down
11 changes: 9 additions & 2 deletions samplecode/hello-regex/enclave/x86_64-unknown-linux-sgx.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"arch": "x86_64",
"cpu": "x86-64",
"data-layout": "e-m:e-i64:64-f80:128-n8:16:32:64-S128",
"data-layout": "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128",
"dynamic-linking": true,
"env": "sgx",
"exe-allocation-crate": "alloc_system",
Expand All @@ -22,7 +22,14 @@
]
},
"relro-level": "full",
"stack-probes": true,
"stack-probes": {
"kind": "inline-or-call",
"min-llvm-version-for-inline": [
11,
0,
1
]
},
"target-c-int-width": "32",
"target-endian": "little",
"target-family": "unix",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"arch": "x86_64",
"cpu": "x86-64",
"data-layout": "e-m:e-i64:64-f80:128-n8:16:32:64-S128",
"data-layout": "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128",
"dynamic-linking": true,
"env": "sgx",
"exe-allocation-crate": "alloc_system",
Expand All @@ -22,7 +22,14 @@
]
},
"relro-level": "full",
"stack-probes": true,
"stack-probes": {
"kind": "inline-or-call",
"min-llvm-version-for-inline": [
11,
0,
1
]
},
"target-c-int-width": "32",
"target-endian": "little",
"target-family": "unix",
Expand Down
11 changes: 9 additions & 2 deletions samplecode/hello-rust/enclave/x86_64-unknown-linux-sgx.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"arch": "x86_64",
"cpu": "x86-64",
"data-layout": "e-m:e-i64:64-f80:128-n8:16:32:64-S128",
"data-layout": "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128",
"dynamic-linking": true,
"env": "sgx",
"exe-allocation-crate": "alloc_system",
Expand All @@ -22,7 +22,14 @@
]
},
"relro-level": "full",
"stack-probes": true,
"stack-probes": {
"kind": "inline-or-call",
"min-llvm-version-for-inline": [
11,
0,
1
]
},
"target-c-int-width": "32",
"target-endian": "little",
"target-family": "unix",
Expand Down
11 changes: 9 additions & 2 deletions samplecode/helloworld/enclave/x86_64-unknown-linux-sgx.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"arch": "x86_64",
"cpu": "x86-64",
"data-layout": "e-m:e-i64:64-f80:128-n8:16:32:64-S128",
"data-layout": "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128",
"dynamic-linking": true,
"env": "sgx",
"exe-allocation-crate": "alloc_system",
Expand All @@ -22,7 +22,14 @@
]
},
"relro-level": "full",
"stack-probes": true,
"stack-probes": {
"kind": "inline-or-call",
"min-llvm-version-for-inline": [
11,
0,
1
]
},
"target-c-int-width": "32",
"target-endian": "little",
"target-family": "unix",
Expand Down
11 changes: 9 additions & 2 deletions samplecode/http_req/enclave/x86_64-unknown-linux-sgx.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"arch": "x86_64",
"cpu": "x86-64",
"data-layout": "e-m:e-i64:64-f80:128-n8:16:32:64-S128",
"data-layout": "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128",
"dynamic-linking": true,
"env": "sgx",
"exe-allocation-crate": "alloc_system",
Expand All @@ -22,7 +22,14 @@
]
},
"relro-level": "full",
"stack-probes": true,
"stack-probes": {
"kind": "inline-or-call",
"min-llvm-version-for-inline": [
11,
0,
1
]
},
"target-c-int-width": "32",
"target-endian": "little",
"target-family": "unix",
Expand Down
11 changes: 9 additions & 2 deletions samplecode/hugemem/enclave/x86_64-unknown-linux-sgx.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"arch": "x86_64",
"cpu": "x86-64",
"data-layout": "e-m:e-i64:64-f80:128-n8:16:32:64-S128",
"data-layout": "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128",
"dynamic-linking": true,
"env": "sgx",
"exe-allocation-crate": "alloc_system",
Expand All @@ -22,7 +22,14 @@
]
},
"relro-level": "full",
"stack-probes": true,
"stack-probes": {
"kind": "inline-or-call",
"min-llvm-version-for-inline": [
11,
0,
1
]
},
"target-c-int-width": "32",
"target-endian": "little",
"target-family": "unix",
Expand Down
11 changes: 9 additions & 2 deletions samplecode/kvdb-memdb/enclave/x86_64-unknown-linux-sgx.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"arch": "x86_64",
"cpu": "x86-64",
"data-layout": "e-m:e-i64:64-f80:128-n8:16:32:64-S128",
"data-layout": "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128",
"dynamic-linking": true,
"env": "sgx",
"exe-allocation-crate": "alloc_system",
Expand All @@ -22,7 +22,14 @@
]
},
"relro-level": "full",
"stack-probes": true,
"stack-probes": {
"kind": "inline-or-call",
"min-llvm-version-for-inline": [
11,
0,
1
]
},
"target-c-int-width": "32",
"target-endian": "little",
"target-family": "unix",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"arch": "x86_64",
"cpu": "x86-64",
"data-layout": "e-m:e-i64:64-f80:128-n8:16:32:64-S128",
"data-layout": "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128",
"dynamic-linking": true,
"env": "sgx",
"exe-allocation-crate": "alloc_system",
Expand All @@ -22,7 +22,14 @@
]
},
"relro-level": "full",
"stack-probes": true,
"stack-probes": {
"kind": "inline-or-call",
"min-llvm-version-for-inline": [
11,
0,
1
]
},
"target-c-int-width": "32",
"target-endian": "little",
"target-family": "unix",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"arch": "x86_64",
"cpu": "x86-64",
"data-layout": "e-m:e-i64:64-f80:128-n8:16:32:64-S128",
"data-layout": "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128",
"dynamic-linking": true,
"env": "sgx",
"exe-allocation-crate": "alloc_system",
Expand All @@ -22,7 +22,14 @@
]
},
"relro-level": "full",
"stack-probes": true,
"stack-probes": {
"kind": "inline-or-call",
"min-llvm-version-for-inline": [
11,
0,
1
]
},
"target-c-int-width": "32",
"target-endian": "little",
"target-family": "unix",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"arch": "x86_64",
"cpu": "x86-64",
"data-layout": "e-m:e-i64:64-f80:128-n8:16:32:64-S128",
"data-layout": "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128",
"dynamic-linking": true,
"env": "sgx",
"exe-allocation-crate": "alloc_system",
Expand All @@ -22,7 +22,14 @@
]
},
"relro-level": "full",
"stack-probes": true,
"stack-probes": {
"kind": "inline-or-call",
"min-llvm-version-for-inline": [
11,
0,
1
]
},
"target-c-int-width": "32",
"target-endian": "little",
"target-family": "unix",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"arch": "x86_64",
"cpu": "x86-64",
"data-layout": "e-m:e-i64:64-f80:128-n8:16:32:64-S128",
"data-layout": "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128",
"dynamic-linking": true,
"env": "sgx",
"exe-allocation-crate": "alloc_system",
Expand All @@ -22,7 +22,14 @@
]
},
"relro-level": "full",
"stack-probes": true,
"stack-probes": {
"kind": "inline-or-call",
"min-llvm-version-for-inline": [
11,
0,
1
]
},
"target-c-int-width": "32",
"target-endian": "little",
"target-family": "unix",
Expand Down
Loading

0 comments on commit c51158c

Please sign in to comment.