Crate rustc_codegen_ssa[−][src]

Expand description

This crate contains codegen code that is used by all codegen backends (LLVM and others). The backend-agnostic functions of this crate use functions defined in various traits that have to be implemented by each backends.

Modules

the rustc crate store interface. This also includes types that are mostly used as a part of that interface, but these should probably get a better home if someone can find one.

Interface of a Rust codegen backend

Structs

Misc info we load from metadata to persist beyond the tcx.

Where a crate came from on the local filesystem. One of these three options must be non-None.

An interned string.

A “work product” is an intermediate result that we save into the incremental directory for later re-use. The primary example are the object files that we save for each partition at code generation time.

A single-threaded reference-counting pointer. ‘Rc’ stands for ‘Reference Counted’.

A slice of a path (akin to str).

An owned, mutable path (akin to String).

Enums

A representation of all the valid language items in Rust.

Constants

Functions

Checks if the given filename ends with the .rcgu.o extension that rustc uses for the object files it generates.

Type Definitions

A mapping of all required dependencies for a particular flavor of output.

Type alias for a hashmap using the fx hash algorithm.

Type alias for a hashmap using the fx hash algorithm.