Commit Graph

48 Commits

Author SHA1 Message Date
Tshepang Mbambo 24de0faa96 fix/improve compiler-debugging 2022-08-10 23:27:09 +02:00
Joshua Nelson 4c39d333c4 Update src/compiler-debugging.md 2022-08-10 09:23:51 -05:00
yukang af80d31f49 add gdb tips for symbol-mangling-version 2022-08-10 09:23:51 -05:00
Oli Scherer 013c8892dd Move log/tracing instructions to its own file 2021-10-08 15:41:06 -05:00
Camelid f525bc8071 Fix typo 2021-02-07 22:12:28 -05:00
Iñaki Garay bee2fd52ce
Add mdbook-toc, markers, and documentation (#1028)
* Add mdbook-toc to travis, book.toml  and documentation

* Add toc markers

* Whitespace cleanup and some punctuation

* Addressed comments
2021-01-20 14:33:11 -03:00
Ryan Levick ed721052a6 Break up long line 2021-01-05 16:13:58 -05:00
Ryan Levick a62429b367 Remove backticks and comment about possible bug 2021-01-05 16:13:58 -05:00
Ryan Levick df8df90fe9 Update src/compiler-debugging.md
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2021-01-05 16:13:58 -05:00
Ryan Levick 468faaea87 Make instructions for configuring compiler for debug more explicit 2021-01-05 16:13:58 -05:00
Camelid 92e47a0559 Remove old sentence that should have been removed
It was mistakenly not removed in #997.
2021-01-04 22:43:03 -05:00
Yuki Okushi 49f1ed8d77 Fix "Potential incomplete link" error on compiler-debugging.md 2021-01-04 20:12:37 -05:00
Sebastian Widua a0819a6d98 Fix some typos 2021-01-04 10:02:33 -05:00
Camelid f2e7d46f28
Update logging section and explain `RUSTC_LOG_COLOR` (#997)
* Update logging section and explain `RUSTC_LOG_COLOR`

* Small fixes

Co-authored-by: Léo Lanteri Thauvin <leseulartichaut@gmail.com>

* Mention that prefixes of paths work as log filters

* `=debug` matches `debug!` *and higher*

* Note that `MIRI_LOG_COLOR` only applies to logs from Miri

Co-authored-by: Léo Lanteri Thauvin <leseulartichaut@gmail.com>
2020-12-31 01:08:00 +01:00
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
Olivier FAURE 10869964a7 Update src/compiler-debugging.md
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2020-11-11 10:39:15 -05:00
Olivier FAURE c15e119fd5 Update link in compiler-debugging.md
Link didn't point to latest version of `env_logger` crate.

Add an explanation to disambiguate the RUSTC_LOG syntax.
2020-11-11 10:39:15 -05:00
Macdonald Umoren ed59c2d47d debug-logging=true instead of debug-assertions=yes 2020-09-16 21:56:05 -04:00
Rich Kadel 91a4afbcc6 broken intra-page link from spanview to graphviz
Just noticed the link was not correct. Fixed here.
2020-09-09 19:01:14 -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
Yuki Okushi 26adefdb05
Clean-up minor issues (#802) 2020-07-18 00:00:34 +09:00
Joshua Nelson 178e3052b2 Document rustdoc behavior
- `RUSTDOC_LOG`
- `// aux-build:filename.rs`
- `// build-aux-docs`
2020-06-17 09:24:41 -05:00
LeSeulArtichaut 4295e7b578
Add section for debugging rustc type layouts (#720) 2020-05-27 14:17:39 +02:00
Tshepang Lekhonkhobe 03282ca486 I confirmed this 2020-05-01 09:17:27 -05:00
Santiago Pastorino 1398a6fe9d treat-err-as-bug=n means panic on nth error 2020-04-24 13:48:01 -05:00
Santiago Pastorino 27269235d3
Update some projects locations (#658) 2020-04-02 18:40:15 +02:00
LeSeulArtichaut 83cd94ed2b Rename `librustc` to `librustc_middle` 2020-03-31 15:43:14 -05:00
Mark Mansi f4f5d4c151 skeleton for backend chapters 2020-03-12 14:11:01 -05:00
ksqsf 6d07d62ad3 backtraces work on Mac 2019-11-12 14:44:41 -06:00
Eduard-Mihai Burtescu f675e36941 Update for TyCtxt<'a, 'gcx, 'tcx> -> TyCtxt<'tcx>. 2019-06-15 16:58:30 -05:00
Who? Me?! 53961054c8 Update compiler-debugging.md 2019-06-11 11:55:03 -05:00
Vadim Petrochenkov 3ac9cfc9c9 Update information about debuginfo configuration 2019-06-02 19:36:58 -05:00
Yuki Okushi 2b8280f113 Rename to RUSTC_LOG 2019-05-03 15:04:24 -05:00
Oliver Scherer ad07f7fac5 Explain new powers of the `treat-err-as-bug` flag 2019-04-24 09:04:12 -05:00
mark 464cb5b166 oops 2019-03-23 18:39:14 -05:00
mark 9b06a122e4 Use eddyb's suggestion from #11 about logging 2019-03-23 18:39:14 -05:00
Mark Mansi 2ebab6532b Organize and finish debugging chapters 2019-02-23 18:14:47 -06:00
Mark Mansi 3dadf436ad add blurb about downloading artifacts; fix #77x 2019-01-29 11:16:11 -06:00
king6cong be6722764c Update the doc related to complier logging 2019-01-18 13:25:19 -06:00
Who? Me?! 2fd124856d Add a note on bisecting 2018-10-23 16:27:58 -05:00
mark e0d07aad5f add notes about generating llvm ir 2018-07-16 20:52:29 -05:00
Who? Me?! bf2f7c85b5
Quick fix: copy/paste error 2018-07-08 18:34:25 -05:00
cg-cnu eb396e7883 add: note about copy from rust-forge 2018-04-15 12:58:53 -05:00
cg-cnu b4228a73ce fix: changed rust code to bash formatting 2018-04-15 12:58:53 -05:00
cg-cnu 29572cd2e4 refactor: fixed typos, text formatting suggested in the review 2018-04-15 12:58:53 -05:00
cg-cnu 8e02b37349 refactor: Fixed all the lines exceeding more than 80 characters 2018-04-15 12:58:53 -05:00
cg-cnu 5653c13077 refactor: Change the name from debugging to compiler-debuggin.md 2018-04-15 12:58:53 -05:00