about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorTyler Mandry <tmandry@gmail.com>2019-11-20 14:37:28 -0600
committerWho? Me?! <mark-i-m@users.noreply.github.com>2019-11-26 17:03:43 -0600
commitab0640a0530b4e02d3f498f5fa324eb8ffa2c2cc (patch)
tree0792f891aa9488741f26c8e1d390322f308fca76 /src/doc/rustc-dev-guide
parent91056aaefa0bbe07bd81229489f8fac37021bfcd (diff)
downloadrust-ab0640a0530b4e02d3f498f5fa324eb8ffa2c2cc.tar.gz
rust-ab0640a0530b4e02d3f498f5fa324eb8ffa2c2cc.zip
-Cllvm-arg is actually -Cllvm-args
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/codegen/debugging.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/rustc-dev-guide/src/codegen/debugging.md b/src/doc/rustc-dev-guide/src/codegen/debugging.md
index 1f38c9eee6d..4eab306068c 100644
--- a/src/doc/rustc-dev-guide/src/codegen/debugging.md
+++ b/src/doc/rustc-dev-guide/src/codegen/debugging.md
@@ -110,9 +110,9 @@ tutorial above):
 
 - The `--emit llvm-ir` option emits a `<filename>.ll` file with LLVM IR in textual format
     - The `--emit llvm-bc` option emits in bytecode format (`<filename>.bc`)
-- Passing `-Cllvm-arg=<foo>` allows passing pretty much all the
+- Passing `-Cllvm-args=<foo>` allows passing pretty much all the
   options that tools like llc and opt would accept;
-  e.g. `-Cllvm-arg=-print-before-all` to print IR before every LLVM
+  e.g. `-Cllvm-args=-print-before-all` to print IR before every LLVM
   pass.
 - The `-Cno-prepopulate-passes` will avoid pre-populate the LLVM pass
   manager with a list of passes.  This will allow you to view the LLVM