我想知道为什么LLVM_website上的llvm-bcanalyzer
帮助页面和我正在使用的当前v3.8之间存在很多不匹配。我已使用v3.0
和v3.4
检查了它们,但没有一个是一致的。
其次,显然无论我传递的是什么[选项],输出都是一样的。
例如,这是v3.8
的可用选项:
OVERVIEW: llvm-bcanalyzer file analyzer
USAGE: llvm-bcanalyzer [options] <input bitcode>
OPTIONS:
General options:
-block-info=<string> - Use the BLOCK_INFO from the given file
-disable-histogram - Do not print per-code histogram
-dump - Dump low level bitcode trace
-non-symbolic - Emit numeric info in dump even if symbolic info is available
-show-binary-blobs - Print binary blobs using hex escapes
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
看,字面上没有关于v3.4的内容:
llvm-bcanalyzer-3.0 llvm-bcanalyzer-3.4
ashouri@gbomb:~$ llvm-bcanalyzer-3.4 --help
OVERVIEW: llvm-bcanalyzer file analyzer
USAGE: llvm-bcanalyzer-3.4 [options] <input bitcode>
OPTIONS:
-asm-verbose - Add comments to directives.
-bounds-checking-single-trap - Use one trap block per function
-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-debug-info-verifier -
-disable-histogram - Do not print per-code histogram
-disable-spill-fusing - Disable fusing of spill code into instructions
-dump - Dump low level bitcode trace
-enable-correct-eh-support - Make the -lowerinvoke pass insert expensive, but correct, EH code
-enable-load-pre -
-enable-objc-arc-opts - enable/disable all ARC Optimizations
-enable-tbaa -
-fatal-assembler-warnings - Consider warnings as error
-fdata-sections - Emit data into separate sections
...
这两个与网站上的不同!
我想获得写在llvm-bcanalyzer上的输出。谁能帮我?这些信息对我来说很有价值。