1

ディストリビューション(archlinux)のLLVMパッケージを使用している場合、複数のコマンドラインオプションを使用できます(llvm-link -helpそれらを表示するために使用しています)。

OPTIONS:
  -asm-verbose                                 - Add comments to directives.
  -cppfname=<function name>                    - Specify the name of the generated function
  -cppfor=<string>                             - Specify the name of the thing to generate
  -cppgen                                      - Choose what kind of output to generate
    =program                                   -   Generate a complete program
    =module                                    -   Generate a module definition
    =contents                                  -   Generate contents of a module
    =function                                  -   Generate a function definition
    =functions                                 -   Generate all function definitions
    =inline                                    -   Generate an inline function
    =variable                                  -   Generate a variable definition
    =type                                      -   Generate a type definition
  -disable-spill-fusing                        - Disable fusing of spill code into instructions
  -enable-correct-eh-support                   - Make the -lowerinvoke pass insert expensive, but correct, EH code

  ... many more ...

ただし、ソースからLLVMを構築する場合、これらのオプションは取得できませんでした。

OPTIONS:
  -f                - Enable binary output on terminals
  -help             - Display available options (-help-hidden for more)
  -o=<filename>     - Override output filename
  -print-after-all  - Print IR after each pass
  -print-before-all - Print IR before each pass
  -stats            - Enable statistics output from program
  -time-passes      - Time each pass, printing elapsed time for each on exit
  -v                - Print information about actions taken
  -verify-dom-info  - Verify dominator info (time consuming)
  -verify-loop-info - Verify loop info (time consuming)
  -version          - Display the version of this program

なんで ?

4

1 に答える 1

0

ディストリビューションが提供するビルドで問題が発生しています。表示するヘルプ出力(最初の出力)は間違いなく偽の出力です。バグをarchlinuxに報告する必要があります。

于 2012-10-02T20:39:43.720 に答える