2012-10-02 2 views
1

배포본 (archlinux)에서 LLVM 패키지를 사용하고있을 때 여러 커맨드 라인 옵션 availables가 있습니다 (참조하려면 llvm-link -help을 사용하고 있습니다).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 

이유 : 소스에서 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 ... 

그러나, 나는 그 옵션을하지 않았다?

+0

시도 llvm-link -help-hidden –

답변

0

배포판에서 제공하는 빌드가 잘못되었습니다. 보여줄 도움말 출력 (첫 번째 출력)은 확실히 가짜 출력입니다. 버그를 archlinux에보고해야합니다.

관련 문제