[llvm] 4ed0531 - [docs] Document the --print-passes flag in opt.

Shivam Gupta via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 23 20:29:24 PDT 2021


Author: Frederic Cambus
Date: 2021-09-24T08:57:15+05:30
New Revision: 4ed05312a1557b2f2552298a3aac12c2e224d77e

URL: https://github.com/llvm/llvm-project/commit/4ed05312a1557b2f2552298a3aac12c2e224d77e
DIFF: https://github.com/llvm/llvm-project/commit/4ed05312a1557b2f2552298a3aac12c2e224d77e.diff

LOG: [docs] Document the --print-passes flag in opt.

Reviewed By: aeubanks, asbirlea

Differential Revision: https://reviews.llvm.org/D109663

Added: 
    

Modified: 
    llvm/docs/CommandGuide/opt.rst

Removed: 
    


################################################################################
diff  --git a/llvm/docs/CommandGuide/opt.rst b/llvm/docs/CommandGuide/opt.rst
index 73d63f28c9bec..7ae9d330c7591 100644
--- a/llvm/docs/CommandGuide/opt.rst
+++ b/llvm/docs/CommandGuide/opt.rst
@@ -104,6 +104,10 @@ OPTIONS
 
      opt -load=plugin.so -help
 
+.. option:: -print-passes
+
+ Print all available passes and exit.
+
 EXIT STATUS
 -----------
 


        


More information about the llvm-commits mailing list