Closed alecmocatta closed 5 years ago
If I could possibly also ask that a new crate version could be published? I'd like to publish a crate dependent on this and it would be nice to not have to mirror it.
It seems that it has been fixed (the usage of %eip) in upstream llvm: https://github.com/llvm-mirror/llvm/commit/b9c9629e618b883df7f03dc92f0d23eeca38693f. But I don't think that rust nightly has backported this change.
EDIT: It seems that the change has been back-ported into the 7.0 release. So rust-nightly will eventually pick it up.
This is now fixed upstream so closing.
%eip => 8 just avoids a check LLVM was making during parsing that balked with "register %eip is only available in 64-bit mode": https://github.com/llvm-mirror/llvm/blob/7ead4232dac43866b3aa2b39aa787823654f4f36/lib/Target/X86/AsmParser/X86AsmParser.cpp#L1102