Keith Smiley
75ccc66b9d
Add note about --match-timestamp for bisects
2021-09-09 14:21:44 -07:00
Ikko Ashimine
6105452b9a
[docs] Fix typo in DebuggingTheCompiler.md
...
preceeding -> preceding
2021-07-02 18:26:45 +09:00
Min-Yih Hsu
d00a6cc0e3
[SIL][Frontend] Simplify debug info generation flow for SIL files
...
- If any of the `-g<kind>` flag is given -- except `-gnone`, debug
info will be printed into every generated SIL files.
- The `-gsil` is deprecated in favor of `-sil-based-debuginfo`. The
SILDebugInfoGenerator Pass now generates intermediate SIL file with
name "<output file>.sil_dbg_<n>.sil". Other functionalities of that
Pass remain the same.
2021-06-30 17:21:58 -07:00
Artem Chikin
ae2e856f9b
Revert "Merge pull request #37114 from apple/revert-36377-NewDriverDefault"
...
This reverts commit 937e1a365c , reversing
changes made to a5440a8abd .
2021-04-28 15:11:36 -07:00
Artem Chikin
1e44ed00eb
Revert "Always build SwiftDriver and use it as default compiler driver"
2021-04-28 11:20:21 -07:00
Artem Chikin
60a4af3dcc
Add documentation about the compiler's standalone driver and its build procedure.
2021-04-26 12:17:56 -07:00
Varun Gandhi
a2cb5a8146
Merge pull request #35639 from varungandhi-apple/vg-doc-asm-obj-debugging
...
[docs] Document tips for debugging assembly & object code.
2021-03-22 18:36:58 -07:00
Varun Gandhi
7dcaf5ceb3
[docs] Mention useful debugging tools with short blurbs about usage.
...
Based on Dave Lee's suggestion in:
https://github.com/apple/swift/pull/35639#pullrequestreview-579556113
2021-03-22 14:59:39 -07:00
Varun Gandhi
bd93de8e2b
[docs] Document tips for debugging assembly & object code.
2021-03-05 14:15:52 -08:00
Ikko Ashimine
bf2afe0b26
[docs] Fix typo in DebuggingTheCompiler.md
...
specfied -> specified
2021-02-27 17:33:24 +09:00
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