rust/src/librustc/middle/trans
Alex Crichton d4dec4701a rustc: Preserve reachable extern fns with LTO
All rust functions are internal implementation details with respect to the ABI
exposed by crates, but extern fns are public components of the ABI and shouldn't
be stripped. This commit serializes reachable extern fns to metadata, so when
LTO is performed all of their symbols are not stripped.

Closes #14500
2014-06-06 19:52:21 -07:00
..
_match.rs Move Def out of syntax crate, where it does not belong 2014-06-06 19:51:23 -04:00
adt.rs Move subst data structures into subst.rs, fix capitalization 2014-06-06 19:46:38 -04:00
asm.rs librustc: Fix snake case errors. 2014-05-30 17:55:42 +01:00
base.rs rustc: Preserve reachable extern fns with LTO 2014-06-06 19:52:21 -07:00
basic_block.rs Switch some tuple structs to pub fields 2014-03-31 19:50:51 -07:00
build.rs librustc: Fix snake case errors. 2014-05-30 17:55:42 +01:00
builder.rs Fallout from the libcollections movement 2014-06-05 13:55:11 -07:00
cabi_arm.rs Convert most code to new inner attribute syntax. 2014-03-28 17:12:21 -07:00
cabi_mips.rs Fix fallout from std::libc separation 2014-04-04 09:31:44 -07:00
cabi_x86_64.rs std: Rename {Eq,Ord} to Partial{Eq,Ord} 2014-05-30 15:52:24 -07:00
cabi_x86.rs
cabi.rs std: Rename {Eq,Ord} to Partial{Eq,Ord} 2014-05-30 15:52:24 -07:00
callee.rs Stop passing around Option<&substs> in trans and just pass &substs, making the code more regular 2014-06-06 19:51:23 -04:00
cleanup.rs std: Rename {Eq,Ord} to Partial{Eq,Ord} 2014-05-30 15:52:24 -07:00
closure.rs Stop passing around Option<&substs> in trans and just pass &substs, making the code more regular 2014-06-06 19:51:23 -04:00
common.rs Stop passing around Option<&substs> in trans and just pass &substs, making the code more regular 2014-06-06 19:51:23 -04:00
consts.rs Move Def out of syntax crate, where it does not belong 2014-06-06 19:51:23 -04:00
context.rs Fallout from the libcollections movement 2014-06-05 13:55:11 -07:00
controlflow.rs Move Def out of syntax crate, where it does not belong 2014-06-06 19:51:23 -04:00
datum.rs std: Drop Total from Total{Eq,Ord} 2014-06-01 10:31:27 -07:00
debuginfo.rs Stop passing around Option<&substs> in trans and just pass &substs, making the code more regular 2014-06-06 19:51:23 -04:00
doc.rs librustc: Remove ~EXPR, ~TYPE, and ~PAT from the language, except 2014-05-06 23:12:54 -07:00
expr.rs rustc: Avoid UB with signed division/remainder 2014-06-06 19:51:13 -07:00
foreign.rs Stop passing around Option<&substs> in trans and just pass &substs, making the code more regular 2014-06-06 19:51:23 -04:00
glue.rs Stop passing around Option<&substs> in trans and just pass &substs, making the code more regular 2014-06-06 19:51:23 -04:00
inline.rs Stop passing around Option<&substs> in trans and just pass &substs, making the code more regular 2014-06-06 19:51:23 -04:00
intrinsic.rs Stop passing around Option<&substs> in trans and just pass &substs, making the code more regular 2014-06-06 19:51:23 -04:00
llrepr.rs std: Remove format_strbuf!() 2014-05-28 08:35:41 -07:00
machine.rs
macros.rs Convert most code to new inner attribute syntax. 2014-03-28 17:12:21 -07:00
meth.rs Stop passing around Option<&substs> in trans and just pass &substs, making the code more regular 2014-06-06 19:51:23 -04:00
mod.rs Remove special rooting code from trans 2014-04-23 18:19:05 +02:00
monomorphize.rs Stop passing around Option<&substs> in trans and just pass &substs, making the code more regular 2014-06-06 19:51:23 -04:00
reflect.rs Stop passing around Option<&substs> in trans and just pass &substs, making the code more regular 2014-06-06 19:51:23 -04:00
tvec.rs librustc: Fix snake case errors. 2014-05-30 17:55:42 +01:00
type_.rs std: Rename {Eq,Ord} to Partial{Eq,Ord} 2014-05-30 15:52:24 -07:00
type_of.rs Move subst data structures into subst.rs, fix capitalization 2014-06-06 19:46:38 -04:00
value.rs Fix fallout from std::libc separation 2014-04-04 09:31:44 -07:00