rust/src/librustc_trans
bors 499e6f8844 Auto merge of #34594 - willcrichton:master, r=nrc
Move LLVM cleanup so modules are accessible during `after_llvm` phase

Fix for #34432. Also added a new phase controller `after_compilation_done` that gets called at the very end (i.e. after linking) at the suggestion of @nrc. The added test will segfault if the modules get deallocated too early, so it ensures the LLVM is not prematurely cleaned up.

r? @nrc
2016-07-04 22:24:08 -07:00
..
back Moved LLVM cleanup to after after_llvm phase 2016-07-04 02:47:19 -04:00
debuginfo Move errors from libsyntax to its own crate 2016-06-23 08:07:35 -04:00
mir prefer if let to match with None => {} arm in some places 2016-07-03 16:27:02 -07:00
_match.rs prefer if let to match with None => {} arm in some places 2016-07-03 16:27:02 -07:00
abi.rs trans: always use a memcpy for ABI argument/return casts. 2016-06-08 00:35:01 +03:00
adt.rs prefer if let to match with None => {} arm in some places 2016-07-03 16:27:02 -07:00
asm.rs rustc: move rustc_front to rustc::hir. 2016-04-06 09:01:55 +03:00
attributes.rs Emit "no-frame-pointer-elim" attribute for closures, shims, and glue. 2016-05-27 13:54:43 -04:00
base.rs prefer if let to match with None => {} arm in some places 2016-07-03 16:27:02 -07:00
basic_block.rs Delete obviously-unreachable blocks 2016-03-30 13:00:02 +13:00
build.rs Move errors from libsyntax to its own crate 2016-06-23 08:07:35 -04:00
builder.rs Move errors from libsyntax to its own crate 2016-06-23 08:07:35 -04:00
cabi_aarch64.rs Handle integer-extending for C ABI 2016-04-04 22:14:10 +02:00
cabi_arm.rs Handle integer-extending for C ABI 2016-04-04 22:14:10 +02:00
cabi_asmjs.rs rustc_trans: move the contents of the trans module to top-level. 2016-03-27 01:23:28 +02:00
cabi_mips.rs Handle integer-extending for C ABI 2016-04-04 22:14:10 +02:00
cabi_powerpc.rs Handle integer-extending for C ABI 2016-04-04 22:14:10 +02:00
cabi_powerpc64.rs Handle integer-extending for C ABI 2016-04-04 22:14:10 +02:00
cabi_x86.rs Handle integer-extending for C ABI 2016-04-04 22:14:10 +02:00
cabi_x86_64.rs Handle integer-extending for C ABI 2016-04-04 22:14:10 +02:00
cabi_x86_win64.rs Handle integer-extending for C ABI 2016-04-04 22:14:10 +02:00
callee.rs Move errors from libsyntax to its own crate 2016-06-23 08:07:35 -04:00
Cargo.toml Move errors from libsyntax to its own crate 2016-06-23 08:07:35 -04:00
cleanup.rs rustc: Replace &'a TyCtxt<'tcx> with a TyCtxt<'a, 'tcx> wrapper. 2016-05-11 04:14:58 +03:00
closure.rs rustc: add ReErased to be used by trait selection, MIR and trans. 2016-06-05 13:58:51 +03:00
collector.rs Move errors from libsyntax to its own crate 2016-06-23 08:07:35 -04:00
common.rs Move errors from libsyntax to its own crate 2016-06-23 08:07:35 -04:00
consts.rs prefer if let to match with None => {} arm in some places 2016-07-03 16:27:02 -07:00
context.rs All intrinsics are available in all supported LLVM versions 2016-06-10 18:26:44 -04:00
controlflow.rs Introduce TyCtxt::expect_def/expect_resolution helpers and use them where possible 2016-06-10 01:03:54 +03:00
datum.rs Move errors from libsyntax to its own crate 2016-06-23 08:07:35 -04:00
declare.rs infer: Turn normalize_associated_type into a method on TyCtxt. 2016-05-11 04:14:58 +03:00
diagnostics.rs Revert "Remove the return_address intrinsic." 2016-06-30 21:12:36 +03:00
disr.rs rustc_trans: move the contents of the trans module to top-level. 2016-03-27 01:23:28 +02:00
expr.rs Move errors from libsyntax to its own crate 2016-06-23 08:07:35 -04:00
glue.rs Move errors from libsyntax to its own crate 2016-06-23 08:07:35 -04:00
inline.rs Remove unused trait imports flagged by lint 2016-05-03 18:48:34 +09:00
intrinsic.rs Revert "Remove the return_address intrinsic." 2016-06-30 21:12:36 +03:00
lib.rs std: Stabilize APIs for the 1.11.0 release 2016-07-03 10:49:01 -07:00
machine.rs rustc_trans: move the contents of the trans module to top-level. 2016-03-27 01:23:28 +02:00
macros.rs rustc_trans: move the contents of the trans module to top-level. 2016-03-27 01:23:28 +02:00
meth.rs Move errors from libsyntax to its own crate 2016-06-23 08:07:35 -04:00
monomorphize.rs fix RUST_LOG, hopefully for real this time 2016-07-01 23:52:22 +03:00
partitioning.rs correct typo in comment 2016-05-24 15:08:07 -04:00
README.txt Make librustc's markdown README.txt claim to be markdown. 2015-03-20 13:29:13 +01:00
symbol_names_test.rs trans: move exported_symbol to Instance::symbol_name. 2016-05-25 01:34:20 +03:00
trans_item.rs trans: Use CrateContext::empty_substs_for_def_id() instead of Substs::empty() where appropriate. 2016-05-11 17:11:20 -04:00
tvec.rs rustc: move rustc_front to rustc::hir. 2016-04-06 09:01:55 +03:00
type_.rs Support 16-bit pointers as well as i/usize 2016-05-19 13:55:13 -04:00
type_of.rs [MIR] Add PointerCast for Unsize casts of fat pointers. 2016-05-19 02:42:24 -04:00
value.rs rustc_trans: move the contents of the trans module to top-level. 2016-03-27 01:23:28 +02:00

See the README.md in ../librustc.