summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2020-04-11 19:34:25 +0200
committerGitHub <noreply@github.com>2020-04-12 02:34:25 +0900
commitab1948fdb9f5ffbe44c2391460700ee38007a846 (patch)
tree7ad3158ec4dd6c879905044445053b313a7c39b5 /src/doc/rustc-dev-guide
parent4682b1d4f6e1452cf2e6297cb62201b3de482b25 (diff)
downloadrust-ab1948fdb9f5ffbe44c2391460700ee38007a846.tar.gz
rust-ab1948fdb9f5ffbe44c2391460700ee38007a846.zip
codegen tests: add link to LLVM FileCheck docs (#673)
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/tests/intro.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/doc/rustc-dev-guide/src/tests/intro.md b/src/doc/rustc-dev-guide/src/tests/intro.md
index a81255decf5..fd0e50c8366 100644
--- a/src/doc/rustc-dev-guide/src/tests/intro.md
+++ b/src/doc/rustc-dev-guide/src/tests/intro.md
@@ -36,6 +36,8 @@ details.
 - `debuginfo` – tests that run in gdb or lldb and query the debug info
 - `codegen` – tests that compile and then test the generated LLVM
   code to make sure that the optimizations we want are taking effect.
+  See [LLVM docs](https://llvm.org/docs/CommandGuide/FileCheck.html) for how to
+  write such tests.
 - `assembly` – similar to `codegen` tests, but verifies assembly output
   to make sure LLVM target backend can handle provided code.
 - `mir-opt` – tests that check parts of the generated MIR to make