about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorSmittyvb <me@smitop.com>2021-11-03 09:24:50 -0400
committerGitHub <noreply@github.com>2021-11-03 09:24:50 -0400
commitfdb6bdacfab4d6f52124fa0e81ac3c7db84d35f7 (patch)
treecbb3005d6a2c3e8419b139ea172e7fe83356096b /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parent3831aaa13c740e20a97c5aa4b8c760da30bff726 (diff)
downloadrust-fdb6bdacfab4d6f52124fa0e81ac3c7db84d35f7.tar.gz
rust-fdb6bdacfab4d6f52124fa0e81ac3c7db84d35f7.zip
Add note about x86 instruction prefixes in asm!
Since rustc doesn't do the assembly parsing itself, it is unable
to detect when inline assembly ends with an instruction prefix,
which doesn't make sense since it would apply to instructions from
the compiler. This fixes #82314 by mentioning that x86 instruction
prefixes must not be used in inline assembly.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions