rust/src/librustc_trans
bors 7ade24f672 Auto merge of #45666 - Amanieu:tls-model, r=alexcrichton
Allow overriding the TLS model

This PR adds the ability to override the default "global-dynamic" TLS model with a more specific one through a target json option or a command-line option. This allows for better code generation in certain situations.

This is similar to the `-ftls-model=` option in GCC and Clang.
2017-11-07 14:24:15 +00:00
..
2017-10-21 22:50:21 +01:00
2017-10-27 23:01:34 +02:00
2017-10-26 13:59:18 -07:00
2017-10-16 13:33:43 +02:00
2017-10-13 09:34:13 -05:00
2017-10-07 08:17:52 -07:00
2017-10-27 23:01:34 +02:00
2017-10-27 23:01:34 +02: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.