rust/src/librustc_trans
Manish Goregaokar d2f7febe93
Rollup merge of #47883 - yurydelendik:wasm-map, r=alexcrichton
Export wasm source map when debug information is enabled

We use binaryen's linker to produce a wasm file (via s2wasm). The wasm writer has capabilities to export source maps. The pilot support for source maps is added to Firefox.

The produced source map contains references to the original file, that might require additional source map file processing to include / package original files with it.

/cc @alexcrichton
2018-02-07 08:30:51 -08:00
..
back Rollup merge of #47883 - yurydelendik:wasm-map, r=alexcrichton 2018-02-07 08:30:51 -08:00
debuginfo Rollup merge of #47618 - mrhota:dw_at_noreturn, r=michaelwoerister 2018-01-25 13:49:46 -08:00
mir Turn type_id into a constant intrinsic 2018-02-01 23:03:19 +01:00
abi.rs rustc: replace "lvalue" terminology with "place" in the code. 2018-01-29 01:49:29 +02:00
allocator.rs rustc: Add an option to default hidden visibility 2018-01-30 13:41:20 -08:00
asm.rs rustc_trans: clobber $1 (aka $at) on mips 2018-01-30 11:54:52 +00:00
attributes.rs rustc_trans: rename ccx to cx. 2018-01-14 08:56:44 +02:00
base.rs Rollup merge of #47415 - varkor:cgu-partition-heuristic, r=michaelwoerister 2018-01-25 12:48:44 -06:00
build.rs rustc: Add some build scripts for librustc crates 2017-07-22 22:04:13 -07:00
builder.rs rustc_trans: rename bcx to bx. 2018-01-14 08:56:44 +02:00
cabi_aarch64.rs rustc_trans: rename ccx to cx. 2018-01-14 08:56:44 +02:00
cabi_arm.rs rustc_trans: rename ccx to cx. 2018-01-14 08:56:44 +02:00
cabi_asmjs.rs rustc_trans: rename ccx to cx. 2018-01-14 08:56:44 +02:00
cabi_hexagon.rs rustc: move size, align & primitive_align from Abi::Aggregate to layout. 2017-11-19 02:14:32 +02:00
cabi_mips.rs rustc_trans: rename ccx to cx. 2018-01-14 08:56:44 +02:00
cabi_mips64.rs rustc_trans: rename ccx to cx. 2018-01-14 08:56:44 +02:00
cabi_msp430.rs rustc: move size, align & primitive_align from Abi::Aggregate to layout. 2017-11-19 02:14:32 +02:00
cabi_nvptx.rs rustc: move size, align & primitive_align from Abi::Aggregate to layout. 2017-11-19 02:14:32 +02:00
cabi_nvptx64.rs rustc: move size, align & primitive_align from Abi::Aggregate to layout. 2017-11-19 02:14:32 +02:00
cabi_powerpc.rs rustc_trans: rename ccx to cx. 2018-01-14 08:56:44 +02:00
cabi_powerpc64.rs rustc_trans: rename ccx to cx. 2018-01-14 08:56:44 +02:00
cabi_s390x.rs rustc_trans: rename ccx to cx. 2018-01-14 08:56:44 +02:00
cabi_sparc.rs rustc_trans: rename ccx to cx. 2018-01-14 08:56:44 +02:00
cabi_sparc64.rs Removed uneeded argument to make_indirect. 2018-01-18 11:03:49 -08:00
cabi_x86.rs rustc_trans: rename ccx to cx. 2018-01-14 08:56:44 +02:00
cabi_x86_64.rs Rollup merge of #47626 - eddyb:one-less-unwrap, r=nagisa 2018-01-25 13:49:47 -08:00
cabi_x86_win64.rs rustc: unpack newtyped of #[repr(simd)] vector types. 2017-12-13 01:57:56 +02:00
callee.rs rustc_trans: rename ccx to cx. 2018-01-14 08:56:44 +02:00
Cargo.toml rustc: Split Emscripten to a separate codegen backend 2018-01-28 18:32:45 -08:00
common.rs rustc_trans: rename bcx to bx. 2018-01-14 08:56:44 +02:00
consts.rs rustc_trans: rename ccx to cx. 2018-01-14 08:56:44 +02:00
context.rs rustc: prefer ParamEnvAnd and LayoutCx over tuples for LayoutOf. 2018-02-01 00:01:08 +02:00
declare.rs rustc_trans: rename ccx to cx. 2018-01-14 08:56:44 +02:00
diagnostics.rs Allow runtime switching between trans backends 2018-01-19 20:27:10 +01:00
glue.rs rustc_trans: rename bcx to bx. 2018-01-14 08:56:44 +02:00
intrinsic.rs rustc_trans: rename bcx to bx. 2018-01-14 08:56:44 +02:00
lib.rs rustc: Load the rustc_trans crate at runtime 2018-01-27 19:16:21 -08:00
llvm_util.rs Rollup merge of #47826 - gnzlbg:patch-2, r=alexcrichton 2018-01-30 17:10:56 +08:00
metadata.rs Add sync module to rustc_data_structures 2017-12-17 14:14:51 +01:00
meth.rs rustc_trans: rename bcx to bx. 2018-01-14 08:56:44 +02:00
README.md rework the README.md for rustc and add other readmes 2017-09-19 09:00:59 -04:00
time_graph.rs rustc: Implement ThinLTO 2017-10-07 08:17:52 -07:00
trans_item.rs Allow runtime switching between trans backends 2018-01-19 20:27:10 +01:00
type_.rs rustc_trans: rename ccx to cx. 2018-01-14 08:56:44 +02:00
type_of.rs rustc_trans: keep LLVM types for trait objects anonymous. 2018-01-31 00:23:25 +02:00
value.rs Inline last remaining use of Callee::call and delete unused code 2016-12-20 20:03:31 -07:00

NB: This crate is part of the Rust compiler. For an overview of the compiler as a whole, see the README.md file found in librustc.

The trans 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.