Erik Eckstein
ee5491a7c9
PassManager: simplify the options to print intermediate SIL.
...
* rename -sil-print-only-function to -sil-print-function and -sil-print-only-functions to -sil-print-functions
* to print single functions, don't require -Xllvm -sil-print-all. It's now sufficient to use e.g. -Xllvm -sil-print-function=<f>
But it's still possible to select functions with -sil-print-function(s) for other print options, -sil-print-after.
2021-02-09 09:12:06 +01:00
Slava Pestov
c997016bc6
Update some docs to talk about 'main' instead of 'master'
...
Fixes https://bugs.swift.org/browse/SR-14015 / rdar://problem/72819056
2021-01-11 22:57:51 -05:00
Max Desiatov
33bc25be80
Fix remaining hardcoded references to x86_64
2020-12-08 17:12:23 +00:00
Michael Gottesman
e7761cf997
[DebuggingTheCompiler] Document a few flags for dumping llvm-ir.
...
I needed to use these and realized they were not documented here. I had them in
my brain, but others may not, so seemed good to do.
2020-10-05 11:27:56 -05:00
Miller
88c82f477f
change bash to sh
...
this code blocks don't have anything specific to bash.
2020-06-02 04:58:33 +06:00
swift-ci
4b7b78d33c
Merge pull request #31636 from mikeash/add-debugging-tips
2020-05-10 15:56:45 -07:00
Mike Ash
d50a3f17de
[docs] Add some memory inspection tips to DebuggingTheCompiler.md.
...
Add a section about viewing allocation history and reference info about a pointer, and a section about using the lldb `x` command.
2020-05-08 09:36:56 -04:00
Ben Rimmington
55fa3871df
[docs] Update DebuggingTheCompiler.md
2020-05-08 03:36:31 +01:00
Michael Gottesman
8e31f37d60
[docs] Add a table of contents to DebuggingTheCompiler.md and re-organize slightly the layout to make things clearer.
...
I also improved some titles.
2020-05-07 12:31:45 -07:00
Robert Widmann
1d5d0d2187
De-RST DebuggingTheCompiler
2020-05-02 05:22:04 -07:00