about summary refs log tree commit diff
path: root/src/librustc_trans
AgeCommit message (Collapse)AuthorLines
2018-03-13add intrinsics for portable packed simd vector reductionsgnzlbg-3/+291
2018-03-13rustc: Embed LLVM bitcode by default on iOSAlex Crichton-1/+77
This commit updates rustc to embed bitcode in each object file generated by default when compiling for iOS. This was determined in #35968 as a step towards better compatibility with the iOS toolchain, so let's give it a spin and see how it turns out! Note that this also updates the `cc` dependency which should propagate this change of embedding bitcode for C dependencies as well.
2018-03-13`trans_apply_param_substs` => `subst_and_normalize_erasing_regions`Niko Matsakis-2/+10
Consolidate `trans_apply_param_substs` and `trans_apply_param_substs_env`. Also remove `trans_impl_self_ty`
2018-03-13transition various normalization functions to the new methodsNiko Matsakis-20/+36
In particular: - `fully_normalize_monormophic_ty` => `normalize_erasing_regions` - `normalize_associated_type_in_env` => `normalize_erasing_regions` - `fully_normalize_associated_types_in` => `normalize_erasing_regions` - `erase_late_bound_regions_and_normalize` => `normalize_erasing_late_bound_regions`
2018-03-13refactor `ParamEnv::empty(Reveal)` into two distinct methodsNiko Matsakis-16/+11
- `ParamEnv::empty()` -- does not reveal all, good for typeck - `ParamEnv::reveal_all()` -- does, good for trans - `param_env.with_reveal_all()` -- converts an existing parameter environment
2018-03-13rustc: Don't invoke `lld` with an `@`-fileAlex Crichton-1/+12
Looks like LLD doesn't support this yet, so always try to use the OS before we fall back to using `@`
2018-03-12rustc: Add `sha` to the x86 feature whitelistAlex Crichton-0/+1
This'll help us bind the [`SHA` intrinsics][intr] in stdsimd! [intr]: https://software.intel.com/sites/landingpage/IntrinsicsGuide/#othertechs=SHA
2018-03-12rustc: Start a custom cabi module for wasm32Alex Crichton-1/+40
It actually was already using the `cabi_asmjs` module but that was by accident, so route the new `wasm32-unknown-unknown` target to a new `cabi_wasm32` module. The first entries in this module are to use `signext` and `zeroext` for types that are under 32 bytes in size Closes rust-lang-nursery/rust-wasm#88
2018-03-12Require the metadata loader to be thread-safeJohn Kåre Alsaker-1/+1
2018-03-11Auto merge of #48691 - Zoxc:profq-chan, r=michaelwoeristerbors-21/+29
Move PROFQ_CHAN to a Session field r? @michaelwoerister
2018-03-10Auto merge of #48388 - kyrias:relro-level-cg, r=alexcrichtonbors-6/+23
Add relro-level tests The `relro-level` debugging flag was added in #43170 which was merged in July 2017. This PR moves this flag to be a proper codegen flag.
2018-03-09Make the default relro level be doing nothing at allJohannes Löthberg-0/+2
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
2018-03-09Move PROFQ_CHAN to a Session fieldJohn Kåre Alsaker-21/+29
2018-03-08librustc_trans: add fp64 to mips features whitelistJames Cowgill-1/+1
On 32-bit MIPS, enabling MSA requires also enabling the 64-bit FPU.
2018-03-08Unregress error spans in constant errorsOliver Schneider-1/+0
2018-03-08Figure out const propgatable locals in a single passOliver Schneider-0/+1
2018-03-08Report const eval errors at the correct spanOliver Schneider-0/+1
2018-03-08Remove redundant warnings in rustc_transOliver Schneider-27/+4
2018-03-08Simplify const SIMD shuffle in transOliver Schneider-61/+30
2018-03-08Report errors in statics during collecting instead of translatingOliver Schneider-0/+2
2018-03-08Simplify code around reading/writing ConstValsOliver Schneider-14/+5
2018-03-08Use Mutability enum instead of boolOliver Schneider-1/+2
2018-03-08Rename simd shuffle function and adjust commentOliver Schneider-7/+7
2018-03-08Nuke ConstInt and Const*sizeOliver Schneider-128/+3
2018-03-08Hide the RefCell inside InterpretInternerOliver Schneider-5/+2
It was too easy to get this wrong
2018-03-08Don't borrow the interpret_interner for anything but a direct function callOliver Schneider-4/+8
2018-03-08Add InterpretInterner to StableHashingContext for AllocId serializationOliver Schneider-64/+64
2018-03-08Fully use miri in transOliver Schneider-1239/+334
2018-03-08Nuke the entire ctfe from orbit, it's the only way to be sureOliver Schneider-43/+3
2018-03-08Produce instead of pointersOliver Schneider-47/+99
2018-03-08Add a variant to ConstVal for storing miri resultsOliver Schneider-0/+1
2018-03-07Merge branch 'incr_attr_queries' of https://github.com/wesleywiser/rust into ↵Alex Crichton-122/+37
update-cargo
2018-03-07Merge branch 'metadata-send-sync' of https://github.com/Zoxc/rust into ↵Alex Crichton-6/+8
update-cargo
2018-03-07Rollup merge of #48651 - PramodBisht:issues/48425, r=oli-obkAlex Crichton-2/+2
Fixed #48425 : Various functions taking a `TyCtxt` and a `Span` should be taking a `TyCtxtAt` Hi @oli-obk I have done some code refactoring to fix #48425, Please let me know if anything else is required on this.
2018-03-06Add linkage to TransFnAttrsWesley Wiser-10/+1
Part of #47320
2018-03-06Add target_features to TransFnAttrsWesley Wiser-93/+12
Part of #47320
2018-03-06Add flag for rustc_std_internal_symbol attributeWesley Wiser-3/+3
Part of #47320
2018-03-06Remove the contains_extern_indicator queryWesley Wiser-1/+2
Part of #47320
2018-03-06Add `inline` to `TransFnAttrs`Wesley Wiser-5/+3
Part of #47320
2018-03-06Add query for trans fn attributesWesley Wiser-13/+19
Part of #47320
2018-03-07Make metadata references Send + SyncJohn Kåre Alsaker-6/+8
2018-03-06Auto merge of #48642 - alexcrichton:compile-cargo-once, r=michaelwoeristerbors-0/+4
Update env_logger to 0.5.4 It looks like this cuts down on the number of dependencies in env_logger and notably cuts out a difference between a shared dependency of rls/cargo. My goal here is to ensure that when we compile the RLS/Cargo on CI we only compile Cargo once, and this is one step towards that!
2018-03-06Make relro-level=off explicitly disable RELROJohannes Löthberg-6/+21
Previously relro-level=off would just not tell the linker to use RELRO, but when you want to disable RELRO you most likely want to entirely prevent. Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
2018-03-06Update env_logger to 0.5.4Alex Crichton-0/+4
It looks like this cuts down on the number of dependencies in env_logger and notably cuts out a difference between a shared dependency of rls/cargo. My goal here is to ensure that when we compile the RLS/Cargo on CI we only compile Cargo once, and this is one step towards that!
2018-03-06Auto merge of #48768 - kennytm:rollup, r=kennytmbors-2/+12
Rollup of 14 pull requests - Successful merges: #48403, #48432, #48546, #48573, #48590, #48657, #48727, #48732, #48753, #48754, #48761, #48474, #48507, #47463 - Failed merges:
2018-03-06Don't show crate metadata symbol as exported symbol to downstream crates.Michael Woerister-9/+3
2018-03-06Fix export level of plugin and procmacro registrars.Michael Woerister-9/+11
2018-03-06Don't recompute SymbolExportLevel for upstream crates.Michael Woerister-67/+31
2018-03-06Compute symbol names more lazily.Michael Woerister-45/+65
2018-03-06Clean up handling of symbol export information.Michael Woerister-131/+212