1
Fork 0

Update the minimum external LLVM to 10

This commit is contained in:
Josh Stone 2021-03-22 11:33:43 -07:00
parent d04c3aa865
commit 7d872f538e
14 changed files with 15 additions and 116 deletions

View file

@ -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

View file

@ -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()