From e47f50676674cd36dcd482d5b5811f9d5191ff8c Mon Sep 17 00:00:00 2001 From: Tyler Mandry Date: Wed, 20 Nov 2019 14:37:28 -0600 Subject: [PATCH] -Cllvm-arg is actually -Cllvm-args --- src/codegen/debugging.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/codegen/debugging.md b/src/codegen/debugging.md index 1f38c9ee..4eab3060 100644 --- a/src/codegen/debugging.md +++ b/src/codegen/debugging.md @@ -110,9 +110,9 @@ tutorial above): - The `--emit llvm-ir` option emits a `.ll` file with LLVM IR in textual format - The `--emit llvm-bc` option emits in bytecode format (`.bc`) -- Passing `-Cllvm-arg=` allows passing pretty much all the +- Passing `-Cllvm-args=` 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