rust-lang / rustc-dev-guide

A guide to how rustc works and how to contribute to it.
https://rustc-dev-guide.rust-lang.org
Apache License 2.0
1.65k stars 510 forks source link

Codegen: LLVM IR, Monomorphization, Codegen Units, Partitioning, Symbol Linkage and Visibility #89

Closed michaelwoerister closed 4 years ago

michaelwoerister commented 6 years ago

Quite a few complicated things are going on during trans. Would be great to have it documented.

michaelwoerister commented 6 years ago

To clarify: the four topics in the title are relatively tightly coupled so it makes sense to treat them together.

mark-i-m commented 6 years ago

Definitely agree. Trans is one of the bigger missing chapters (along with type-checking, MIR construction, etc).

cc #6

mark-i-m commented 4 years ago

We added some skeleton chapters and have some other things in progress.