Mention LLVM bug that leads to wrong error code

See https://github.com/phil-opp/blog_os/issues/513
This commit is contained in:
Philipp Oppermann
2019-01-05 14:35:34 +01:00
parent ec377baa37
commit e9e4984643

View File

@@ -190,6 +190,12 @@ In the `x86_64` crate, the exception stack frame is represented by the [`Excepti
[`ExceptionStackFrame`]: https://docs.rs/x86_64/0.2.8/x86_64/structures/idt/struct.ExceptionStackFrame.html [`ExceptionStackFrame`]: https://docs.rs/x86_64/0.2.8/x86_64/structures/idt/struct.ExceptionStackFrame.html
Note that there is currently [a bug in LLVM] that leads to wrong error code arguments. The cause of the issue is already known and a solution is [being worked on].
[a bug in LLVM]: https://github.com/rust-lang/rust/issues/57270
[being worked on]: https://reviews.llvm.org/D56275
### Behind the Scenes ### Behind the Scenes
The `x86-interrupt` calling convention is a powerful abstraction that hides almost all of the messy details of the exception handling process. However, sometimes it's useful to know what's happening behind the curtain. Here is a short overview of the things that the `x86-interrupt` calling convention takes care of: The `x86-interrupt` calling convention is a powerful abstraction that hides almost all of the messy details of the exception handling process. However, sometimes it's useful to know what's happening behind the curtain. Here is a short overview of the things that the `x86-interrupt` calling convention takes care of: