rust/src/librustc_codegen_llvm
Tyler Mandry 8aa23125bb
Rollup merge of #65832 - tlively:emscripten-exception-handling, r=alexcrichton
Re-enable Emscripten's exception handling support

Passes LLVM codegen and Emscripten link-time flags for exception
handling if and only if the panic strategy is `unwind`. Sets the
default panic strategy for Emscripten targets to `unwind`. Re-enables
tests that depend on unwinding support for Emscripten, including
`should_panic` tests.

r? @alexcrichton
2019-10-29 12:01:38 -07:00
..
back Auto merge of #65435 - michaelwoerister:fix-issue-64153, r=alexcrichton 2019-10-29 07:38:50 +00:00
debuginfo Rollup merge of #65657 - nnethercote:rm-InternedString-properly, r=eddyb 2019-10-23 22:19:19 +02:00
llvm Remove many unnecessary trait derivations. 2019-10-21 20:59:18 +11:00
abi.rs rustc: rely on c_variadic == true instead of CVarArgs in HIR/Ty fn signatures. 2019-09-28 17:39:00 +03:00
allocator.rs rustc, rustc_passes: don't depend on syntax_expand. 2019-10-27 17:05:57 +01:00
asm.rs Remove SyntaxContext from {ast, hir}::{GlobalAsm, InlineAsm} 2019-08-17 09:12:32 +01:00
attributes.rs some typography 2019-10-12 20:44:05 +02:00
base.rs Use Symbol for codegen unit names. 2019-10-21 18:30:40 +11:00
build.rs Remove licenses 2018-12-25 21:08:33 -07:00
builder.rs Always use consteval to codegen caller_location. 2019-10-27 12:51:55 -07:00
callee.rs Remove MiscMethods::instances 2019-10-13 14:43:57 +02:00
Cargo.toml Remove src/llvm-emscripten submodule 2019-10-21 13:05:31 -07:00
common.rs Panicking infra uses &core::panic::Location. 2019-10-27 12:50:58 -07:00
consts.rs Change SymbolName::name from InternedString to Symbol. 2019-10-21 18:30:32 +11:00
context.rs Remove MiscMethods::instances 2019-10-13 14:43:57 +02:00
declare.rs Pass type to byval attributes 2019-07-09 21:55:29 +02:00
intrinsic.rs Move span_invalid_monomorphization_error from cg_llvm to cg_ssa 2019-10-13 14:35:14 +02:00
lib.rs rustc, rustc_passes: don't depend on syntax_expand. 2019-10-27 17:05:57 +01:00
llvm_util.rs Formatting 2019-10-25 16:10:17 -07:00
metadata.rs format a bit 2019-07-07 09:32:36 +02:00
mono_item.rs remove reexport of rustc::ty::Instance 2019-06-02 22:32:42 -05:00
README.md rustc-guide has moved 2018-11-26 15:03:13 -06:00
type_.rs Remove lint annotations in specific crates that are already enforced by rustbuild 2019-07-28 18:46:24 +03:00
type_of.rs clean up GeneratorSubsts 2019-10-04 20:47:43 +08:00
va_arg.rs Expose VaListImpl as the Rust equivalent of __va_list_tag and implement Clone for it. 2019-06-17 16:04:49 -07:00
value.rs librustc_codegen_llvm: deny(elided_lifetimes_in_paths) 2019-02-25 08:40:18 +01:00

The codegen crate contains the code to convert from MIR into LLVM IR, and then from LLVM IR into machine code. In general it contains code that runs towards the end of the compilation process.

For more information about how codegen works, see the rustc guide.