2012-10-02 86 views
1

當我通過分發(archlinux)使用LLVM包時,我有多個命令行選項可用(我使用llvm-link -help來查看它們)。編譯LLVM時缺少選項

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 

爲什麼?

+0

嘗試 llvm-link -help-hidden –

回答

0

某些東西與您的發行版提供的版本有關。你顯示的幫助輸出(第一個)絕對是虛假的。你應該向archlinux報告bug。