about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/doc/debugging-gcc-lto.md
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/rustc_codegen_gcc/doc/debugging-gcc-lto.md')
-rw-r--r--compiler/rustc_codegen_gcc/doc/debugging-gcc-lto.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_gcc/doc/debugging-gcc-lto.md b/compiler/rustc_codegen_gcc/doc/debugging-gcc-lto.md
new file mode 100644
index 00000000000..93b150d7686
--- /dev/null
+++ b/compiler/rustc_codegen_gcc/doc/debugging-gcc-lto.md
@@ -0,0 +1,3 @@
+# How to debug GCC LTO
+
+Run do the command with `-v -save-temps` and then extract the `lto1` line from the output and run that under the debugger.