[llvm] update llvm-dis header with available options (PR #108073)

Amr Hesham via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 10 14:18:36 PDT 2024


================
@@ -12,7 +12,12 @@
 //                            to the x.ll file.
 //  Options:
 //      --help   - Output information about command line switches
-//
+//      -o <filename>                  - Override output filename
+//      -f                             - Enable binary output on terminals
+//      --disable-output               - Don't output the .ll file
+//      --show-annotations             - Add informational comments to the .ll file
+//      --materialize-metadata         - Load module without materializing metadata, then materialize only the metadata
+// 
----------------
AmrDeveloper wrote:

Check llvm-dis -help to get all options

```
OPTIONS:

Color Options:

  --color                - Use colors in output (default=autodetect)

Disassembler Options:

  -f                     - Enable binary output on terminals
  --materialize-metadata - Load module without materializing metadata, then materialize only the metadata
  -o <filename>          - Override output filename
  --show-annotations     - Add informational comments to the .ll file

Generic Options:

  --help                 - Display available options (--help-hidden for more)
  --help-list            - Display list of available options (--help-list-hidden for more)
  --version              - Display the version of this program
  ```

https://github.com/llvm/llvm-project/pull/108073


More information about the llvm-commits mailing list