diff options
| author | Josh Stone <jistone@redhat.com> | 2021-03-22 11:33:43 -0700 |
|---|---|---|
| committer | Josh Stone <jistone@redhat.com> | 2021-03-22 11:33:43 -0700 |
| commit | 7d872f538efc5cb3786c3aa0a6654bae7a67ec63 (patch) | |
| tree | b7e9f5a8d13b2bf78dfb8d219615de1c53798240 /library/std/src | |
| parent | d04c3aa8656f6588c87bafafb34d51239dab98bb (diff) | |
| download | rust-7d872f538efc5cb3786c3aa0a6654bae7a67ec63.tar.gz rust-7d872f538efc5cb3786c3aa0a6654bae7a67ec63.zip | |
Update the minimum external LLVM to 10
Diffstat (limited to 'library/std/src')
| -rw-r--r-- | library/std/src/sys/sgx/abi/mem.rs | 3 | ||||
| -rw-r--r-- | library/std/src/sys/sgx/ext/arch.rs | 6 |
2 files changed, 3 insertions, 6 deletions
diff --git a/library/std/src/sys/sgx/abi/mem.rs b/library/std/src/sys/sgx/abi/mem.rs index 3753fdd3536..9c593a00511 100644 --- a/library/std/src/sys/sgx/abi/mem.rs +++ b/library/std/src/sys/sgx/abi/mem.rs @@ -38,8 +38,7 @@ pub fn image_base() -> u64 { asm!( "lea IMAGE_BASE(%rip), {}", lateout(reg) base, - // NOTE(#76738): ATT syntax is used to support LLVM 8 and 9. - options(att_syntax, nostack, preserves_flags, nomem, pure), + options(nostack, preserves_flags, nomem, pure), ) }; base diff --git a/library/std/src/sys/sgx/ext/arch.rs b/library/std/src/sys/sgx/ext/arch.rs index 7488e7e5dc9..730db34e733 100644 --- a/library/std/src/sys/sgx/ext/arch.rs +++ b/library/std/src/sys/sgx/ext/arch.rs @@ -36,8 +36,7 @@ pub fn egetkey(request: &Align512<[u8; 512]>) -> Result<Align16<[u8; 16]>, u32> inlateout("eax") ENCLU_EGETKEY => error, in("rbx") request, in("rcx") out.as_mut_ptr(), - // NOTE(#76738): ATT syntax is used to support LLVM 8 and 9. - options(att_syntax, nostack), + options(nostack), ); match error { @@ -66,8 +65,7 @@ pub fn ereport( in("rbx") targetinfo, in("rcx") reportdata, in("rdx") report.as_mut_ptr(), - // NOTE(#76738): ATT syntax is used to support LLVM 8 and 9. - options(att_syntax, preserves_flags, nostack), + options(preserves_flags, nostack), ); report.assume_init() |
