Iñaki Garay
320df682bd
rustc invocation standarized ( #992 )
...
* rustc invocation standarized
* Addressed comments
* Addressed comments
* Addressed comments
* Updated command output
2020-12-28 23:34:51 +01:00
Siddharth
edc94c0c84
Edit the Mir page to fix infelicities. ( #984 )
...
* Edit the Mir page to fix infelicities.
- Remove dead reference to Mir. reflow sentence to talk about
`Body::local_decls`
- Fix broken links to render properly.
- Add links for `Terminator`, `RETURN_PLACE`, `ProjectionElem`.
* Update src/mir/index.md
Co-authored-by: Léo Lanteri Thauvin <leseulartichaut@gmail.com>
* Edit the Mir page to fix infelicities.
- Remove dead reference to Mir. reflow sentence to talk about
`Body::local_decls`
- Fix broken links to render properly.
- Add links for `Terminator`, `RETURN_PLACE`, `ProjectionElem`.
Co-authored-by: Léo Lanteri Thauvin <leseulartichaut@gmail.com>
2020-12-06 15:36:52 +01:00
Siddharth
02068c0612
Add links to the rust documentation for all MIR structs ( #982 )
...
* Add links to the rust documentation for all MIR structs
* Update src/mir/index.md
Co-authored-by: Léo Lanteri Thauvin <leseulartichaut@gmail.com>
* Update src/mir/index.md
Co-authored-by: Léo Lanteri Thauvin <leseulartichaut@gmail.com>
Co-authored-by: Léo Lanteri Thauvin <leseulartichaut@gmail.com>
2020-12-06 14:40:45 +01:00
cjkenn
da0701b979
add small explanation of why fuel can be useful for debugging
2020-11-22 08:43:00 -05:00
cjkenn
8f5a1440ae
add mir-opt section for optimization fuel
2020-11-22 08:43:00 -05:00
Camelid
25016aeb3b
Provide a brief example of a data-flow analysis
2020-11-12 11:53:00 -05:00
Camelid
79b3788fd7
Explain the purpose of the bottom value
2020-11-12 11:53:00 -05:00
Camelid
9e346c9d17
Add a section on data-flow convergence
2020-11-12 11:53:00 -05:00
Dániel Buga
30d03d013f
Link to the -Zmir-opt-level proposal
...
I was confused about what the different levels mean. This PR adds a paragraph that shortly explains the rationale behind different mir-opt-levels and links to the current proposal where there's some information about them.
Let me know if I wrote something unreasonable or incorrect.
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2020-09-23 18:42:23 -04:00
Camelid
f6ba69175b
Revert "Mention that places are sometimes called "lvalues""
...
This reverts commit bf5e1c451d .
2020-09-17 11:35:14 -04:00
Camelid
c758b595b0
Mention that places are sometimes called "lvalues"
2020-09-17 11:35:14 -04:00
Dylan MacKenzie
be58aab880
Add link for `AnalysisDomain::NAME`
2020-09-16 00:21:55 -04:00
Dylan MacKenzie
a72fe531ce
Describe how to generate graphviz diagrams for dataflow
2020-09-16 00:21:55 -04:00
Dylan MacKenzie
0520a58b42
Update `Visitor` and `Cursor` examples
2020-09-13 15:58:02 -04:00
Dylan MacKenzie
92fdaa6c42
Line edits
2020-09-13 15:58:02 -04:00
Dylan MacKenzie
e8003db79a
Add missing link to `Engine`
2020-09-13 15:58:02 -04:00
Dylan MacKenzie
ed3d255153
Initial draft of MIR dataflow framework docs
2020-09-13 15:58:02 -04:00
Rich Kadel
b737f79192
Adds documentation to cover spanview output
...
Documents the feature introduced in #76074 .
2020-09-02 12:39:47 +02:00
mark
9bb3872dc7
fix links and names after compiler mv to compiler/
2020-08-31 05:12:13 +02:00
Tshepang Lekhonkhobe
76efc9b91f
nits
2020-08-26 08:07:52 -04:00
Camelid
7e3fe0a961
Apply review suggestion
...
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2020-08-26 13:13:14 +02:00
Camelid
92499eadd4
Clarify section on MIR construction
2020-08-26 13:13:14 +02:00
Yuki Okushi
61824dde4f
Mention `HAIR` to clarify
2020-08-02 08:39:33 -05:00
Yuki Okushi
d89c8c9b12
Rename `HAIR` to `THIR`
2020-08-02 08:39:33 -05:00
Takayuki Nakata
e403d51932
Change `rustc::*` to `rustc_middle::*` ( #798 )
2020-07-16 11:13:49 +09:00
Who? Me?!
269b5f08e7
Reorganize the guide ( #651 )
...
* start on guide reorg
* backend intro
* part 2, 3, 4 intros
* some missing files
* Fix typos
Co-Authored-By: Yuki Okushi <huyuumi.dev@gmail.com>
Co-Authored-By: Chris Simpkins <git.simpkins@gmail.com>
* add links from intro
* rename compiler source chapter and add placeholder for overview
* rename parts, mv rustc_driver to part 3, make syntax chapter
* update part intros
* add syntax ch intro
* address review comments
* Better overview chapter placeholder
Co-Authored-By: Chris Simpkins <git.simpkins@gmail.com>
* fix link
Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
Co-authored-by: Chris Simpkins <git.simpkins@gmail.com>
2020-04-06 13:23:34 -03:00
Paul Daniel Faria
6e91f8d0e9
Add ids to all glossary items, make existing glossary links point to glossary, add links for def id in query.md
2020-04-05 12:46:22 -05:00
LeSeulArtichaut
83cd94ed2b
Rename `librustc` to `librustc_middle`
2020-03-31 15:43:14 -05:00
Youngsuk Kim
601fee4da8
Clarify sentence meaning
2020-03-15 21:27:40 -05:00
Santiago Pastorino
66be765404
Rename rustc-guide to rustc-dev-guide ( #601 )
...
* Rename rustc-guide to rustc-dev-guide
* rust-lang.github.io/rustc-dev-guide -> rustc-dev-guide.rust-lang.org
2020-03-10 11:01:43 -03:00
Eduard-Mihai Burtescu
e69b987357
mir: begin documenting user variable debuginfo. ( #571 )
2020-02-05 23:55:42 +01:00
Yuki Okushi
92baf7293d
Fix link
2020-01-13 22:58:05 -06:00
Yuki Okushi
41efacea44
Fix links
2020-01-13 13:14:26 -06:00
Santiago Pastorino
b3aa636dc2
Minor mir chapter fixes
2019-11-20 08:00:49 -06:00
Who? Me?!
c1eea21696
typo
...
Co-Authored-By: Yuki Okushi <huyuumi.dev@gmail.com>
2019-11-14 13:08:20 -06:00
Who? Me?!
be4bd173ef
typo
...
Co-Authored-By: Yuki Okushi <huyuumi.dev@gmail.com>
2019-11-14 13:08:20 -06:00
Mark Mansi
692ac4df9f
add oli note
2019-11-14 13:08:20 -06:00
Mark Mansi
f4e7bbe473
add something for mir opt
2019-11-14 13:08:20 -06:00
lzutao
9d1ffd3a0e
Prefer https in GitHub pages urls ( #454 )
2019-09-30 11:26:27 -03:00
Youngsuk Kim
74d3b788ee
minor typo fixes ( #445 )
...
* typo fix
how to expose the them to any sort of external testing apparatus
=> how to expose them to any sort of external testing apparatus
* typo fix
These following image depicts
=> The following image depicts
* typo fix
trait itself is found in in
=> trait itself is found in
* Update src/mir/passes.md
following JohnTitor's suggestion
Co-Authored-By: Yuki Okushi <huyuumi.dev@gmail.com>
* Update src/test-implementation.md
Also following JohnTitor's suggestion
Co-Authored-By: Yuki Okushi <huyuumi.dev@gmail.com>
2019-09-16 17:34:03 -03:00
Youngsuk Kim
58f3730c0e
typo fix ( #444 )
...
that would get compile to => that would get compiled to
2019-09-16 10:37:02 -03:00
Yuki Okushi
7f47c496c2
Fix typo
2019-06-26 22:21:47 -05:00
Eduard-Mihai Burtescu
f675e36941
Update for TyCtxt<'a, 'gcx, 'tcx> -> TyCtxt<'tcx>.
2019-06-15 16:58:30 -05:00
Mark Mansi
2ebab6532b
Organize and finish debugging chapters
2019-02-23 18:14:47 -06:00
Oliver Scherer
aee77489fe
Add graphs that I forgot to push in the original PR
2018-12-14 17:29:38 -06:00
Dan Robertson
81b0c84f41
Fix link to rustc_mir::hair::cx::expr
2018-12-11 21:58:29 -06:00
Oliver Scherer
6569862a80
Don't try to build some example code snippets
2018-11-09 19:17:49 -06:00
Oliver Scherer
ce79098344
Line length checks
2018-11-09 19:17:49 -06:00
Oliver Scherer
21beb7738a
Remove a sentence from the end of a chapter because it also appears right at the start of the chapter
2018-11-09 19:17:49 -06:00
Who? Me?!
f4978b5646
Clarify aggregates
...
Co-Authored-By: oli-obk <github35764891676564198441@oli-obk.de>
2018-11-09 19:17:49 -06:00