-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rollup of 10 pull requests #73668
Rollup of 10 pull requests #73668
Commits on May 30, 2020
-
Configuration menu - View commit details
-
Copy full SHA for b97487b - Browse repository at this point
Copy the full SHA b97487bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d6267a - Browse repository at this point
Copy the full SHA 2d6267aView commit details
Commits on Jun 1, 2020
-
Mention that BTreeMap::new() doesn't allocate
I think it would be nice to mention this, so you don't have to dig through the src to look at the definition of new().
Configuration menu - View commit details
-
Copy full SHA for 0c5c644 - Browse repository at this point
Copy the full SHA 0c5c644View commit details
Commits on Jun 18, 2020
-
Merge pull request rust-lang#4 from rust-lang/master
update from origin 2020-06-18
Configuration menu - View commit details
-
Copy full SHA for 7ef9eb3 - Browse repository at this point
Copy the full SHA 7ef9eb3View commit details
Commits on Jun 19, 2020
-
Merge pull request rust-lang#5 from rust-lang/master
update from origin 2020-06-19
Configuration menu - View commit details
-
Copy full SHA for 791cccc - Browse repository at this point
Copy the full SHA 791ccccView commit details -
code coverage foundation for hash and num_counters
Replaced dummy values for hash and num_counters with computed values, and refactored InstrumentCoverage pass to simplify injecting more counters per function in upcoming versions. Improved usage documentation and error messaging.
Configuration menu - View commit details
-
Copy full SHA for 8c7c84b - Browse repository at this point
Copy the full SHA 8c7c84bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8fc2eeb - Browse repository at this point
Copy the full SHA 8fc2eebView commit details -
Look for stores between non-conflicting generator saved locals
This is to prevent the miscompilation in rust-lang#73137 from reappearing. Only runs with `-Zvalidate-mir`.
Configuration menu - View commit details
-
Copy full SHA for c178e64 - Browse repository at this point
Copy the full SHA c178e64View commit details -
Incorporate review suggestions
Co-authored-by: Tyler Mandry <tmandry@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for b2ec645 - Browse repository at this point
Copy the full SHA b2ec645View commit details
Commits on Jun 20, 2020
-
Fix -Z unpretty=everybody_loops
It turns out that this has not been working for who knows how long. Previously: ``` pub fn h() { 1 + 2; } ``` After this change: ``` pub fn h() { loop {} } ``` This only affected the pass when run with the command line pretty-printing option, so rustdoc was still replacing bodies with `loop {}`.
Configuration menu - View commit details
-
Copy full SHA for 95f8daa - Browse repository at this point
Copy the full SHA 95f8daaView commit details
Commits on Jun 21, 2020
-
Configuration menu - View commit details
-
Copy full SHA for f60513e - Browse repository at this point
Copy the full SHA f60513eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d3f49f - Browse repository at this point
Copy the full SHA 1d3f49fView commit details -
Configuration menu - View commit details
-
Copy full SHA for bd4f6f0 - Browse repository at this point
Copy the full SHA bd4f6f0View commit details
Commits on Jun 22, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 933fe80 - Browse repository at this point
Copy the full SHA 933fe80View commit details -
Configuration menu - View commit details
-
Copy full SHA for 932237b - Browse repository at this point
Copy the full SHA 932237bView commit details -
Point at the call spawn when overflow occurs during monomorphization
This improves the output for issue rust-lang#72577, but there's still more work to be done. Currently, an overflow error during monomorphization results in an error that points at the function we were unable to monomorphize. However, we don't point at the call that caused the monomorphization to happen. In the overflow occurs in a large recursive function, it may be difficult to determine where the issue is. This commit tracks and `Span` information during collection of `MonoItem`s, which is used when emitting an overflow error. `MonoItem` itself is unchanged, so this only affects `src/librustc_mir/monomorphize/collector.rs`
Configuration menu - View commit details
-
Copy full SHA for 3ed96a6 - Browse repository at this point
Copy the full SHA 3ed96a6View commit details -
implemented query for coverage data
This commit adds a query that allows the CoverageData to be pulled from a call on tcx, avoiding the need to change the `codegen_intrinsic_call()` signature (no need to pass in the FunctionCx or any additional arguments. The commit does not change where/when the CoverageData is computed. It's still done in the `pass`, and saved in the MIR `Body`. See discussion (in progress) here: rust-lang#73488 (comment)
Configuration menu - View commit details
-
Copy full SHA for f4a7938 - Browse repository at this point
Copy the full SHA f4a7938View commit details -
Configuration menu - View commit details
-
Copy full SHA for f84b7e1 - Browse repository at this point
Copy the full SHA f84b7e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 994d9d0 - Browse repository at this point
Copy the full SHA 994d9d0View commit details
Commits on Jun 23, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 08ec4cb - Browse repository at this point
Copy the full SHA 08ec4cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d0192e - Browse repository at this point
Copy the full SHA 3d0192eView commit details -
using "mir_body" (vs "body") in InstrumentCoverage
The mod uses both MIR bodies and HIR bodies, so I'm trying to maintain consistency with these names.
Configuration menu - View commit details
-
Copy full SHA for a045140 - Browse repository at this point
Copy the full SHA a045140View commit details -
Updated query for num_counters to compute from max index
Also added FIXME comments to note the possible need to accommodate counter increment calls in source-based functions that differ from the function context of the caller instance (e.g., inline functions).
Configuration menu - View commit details
-
Copy full SHA for 977ce57 - Browse repository at this point
Copy the full SHA 977ce57View commit details -
rustc: Modernize wasm checks for atomics
This commit modernizes how rustc checks for whether the `atomics` feature is enabled for the wasm target. The `sess.target_features` set is consulted instead of fiddling around with dealing with various aspects of LLVM and that syntax.
Configuration menu - View commit details
-
Copy full SHA for 0c2b025 - Browse repository at this point
Copy the full SHA 0c2b025View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e8aa1f - Browse repository at this point
Copy the full SHA 6e8aa1fView commit details -
Rollup merge of rust-lang#72780 - GuillaumeGomez:enforce-doc-alias-ch…
…eck, r=ollie27 Enforce doc alias check Part of rust-lang#50146. r? @ollie27
Configuration menu - View commit details
-
Copy full SHA for 558fd6d - Browse repository at this point
Copy the full SHA 558fd6dView commit details -
Rollup merge of rust-lang#72876 - TrolledWoods:patch-2, r=Dylan-DPC
Mention that BTreeMap::new() doesn't allocate I think it would be nice to mention this, so you don't have to dig through the src to look at the definition of new().
Configuration menu - View commit details
-
Copy full SHA for eb061aa - Browse repository at this point
Copy the full SHA eb061aaView commit details -
Rollup merge of rust-lang#73244 - ecstatic-morse:validate-generator-m…
…ir, r=tmandry Check for assignments between non-conflicting generator saved locals This is to prevent future changes to the generator transform from reintroducing the problem that caused rust-lang#73137. Namely, a store between two generator saved locals whose storage does not conflict. My ultimate goal is to introduce a modified version of rust-lang#71956 that handles this case properly. r? @tmandry
Configuration menu - View commit details
-
Copy full SHA for 9ac2c1d - Browse repository at this point
Copy the full SHA 9ac2c1dView commit details -
Rollup merge of rust-lang#73488 - richkadel:llvm-coverage-map-gen, r=…
…tmandry code coverage foundation for hash and num_counters This PR is the next iteration after PR rust-lang#73011 (which is still waiting on bors to merge). @wesleywiser - PTAL r? @tmandry (FYI, I'm also working on injecting the coverage maps, in another branch, while waiting for these to merge.) Thanks!
Configuration menu - View commit details
-
Copy full SHA for feb1082 - Browse repository at this point
Copy the full SHA feb1082View commit details -
Rollup merge of rust-lang#73523 - jyn514:everybody_loops, r=ecstatic-…
…morse Fix -Z unpretty=everybody_loops It turns out that this has not been working for who knows how long. Previously: ``` pub fn h() { 1 + 2; } ``` After this change: ``` pub fn h() { loop { } } ``` This only affected the pass when run with the command line pretty-printing option, so rustdoc was still replacing bodies with `loop {}`.
Configuration menu - View commit details
-
Copy full SHA for 92879b0 - Browse repository at this point
Copy the full SHA 92879b0View commit details -
Rollup merge of rust-lang#73587 - marmeladema:hir-id-ification-final,…
… r=petrochenkov Move remaining `NodeId` APIs from `Definitions` to `Resolver` Implements rust-lang#73291 (comment) TL;DR: it moves all fields that are only needed during name resolution passes into the `Resolver` and keep the rest in `Definitions`. This effectively enforces that all references to `NodeId`s are gone once HIR lowering is completed. After this, the only remaining work for rust-lang#50928 should be to adjust the dev guide. r? @petrochenkov
Configuration menu - View commit details
-
Copy full SHA for 7345a6c - Browse repository at this point
Copy the full SHA 7345a6cView commit details -
Rollup merge of rust-lang#73601 - Aaron1011:fix/better-mono-overflow-…
…err, r=ecstatic-morse Point at the call span when overflow occurs during monomorphization This improves the output for issue rust-lang#72577, but there's still more work to be done. Currently, an overflow error during monomorphization results in an error that points at the function we were unable to monomorphize. However, we don't point at the call that caused the monomorphization to happen. In the overflow occurs in a large recursive function, it may be difficult to determine where the issue is. This commit tracks and `Span` information during collection of `MonoItem`s, which is used when emitting an overflow error. `MonoItem` itself is unchanged, so this only affects `src/librustc_mir/monomorphize/collector.rs`
Configuration menu - View commit details
-
Copy full SHA for 9baefc7 - Browse repository at this point
Copy the full SHA 9baefc7View commit details -
Rollup merge of rust-lang#73614 - lcnr:patch-4, r=Dylan-DPC
fix `intrinsics::needs_drop` docs
Configuration menu - View commit details
-
Copy full SHA for 9274c3e - Browse repository at this point
Copy the full SHA 9274c3eView commit details -
Rollup merge of rust-lang#73630 - estebank:fn-item-e0308, r=davidtwco
Provide context on E0308 involving fn items Fix rust-lang#73487.
Configuration menu - View commit details
-
Copy full SHA for 07abff5 - Browse repository at this point
Copy the full SHA 07abff5View commit details -
Rollup merge of rust-lang#73665 - alexcrichton:update-wasm-atomics-fe…
…ature, r=davidtwco rustc: Modernize wasm checks for atomics This commit modernizes how rustc checks for whether the `atomics` feature is enabled for the wasm target. The `sess.target_features` set is consulted instead of fiddling around with dealing with various aspects of LLVM and that syntax.
Configuration menu - View commit details
-
Copy full SHA for 3b69fe1 - Browse repository at this point
Copy the full SHA 3b69fe1View commit details