llvm
「已注销」
never undefeated
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
What dose the 'LLVM_NODISCARD' mean in llvm?
LLVM_NODISCARD is defined in llvm/include/llvm/Support/Compiler.h in a portable way. It allows use of compiler-specific feature of which warning if a type or return value is discarded.原创 2020-01-15 09:32:20 · 444 阅读 · 0 评论 -
some important predefined subclass of passes
some important predefined subclass of passes ModulePass This is the most general superclass. By inheriting this class we allow the entire module to be analyzed at once. The functions within the module...原创 2020-01-15 09:31:15 · 353 阅读 · 0 评论 -
LLVM Directory Layout
LLVM Directory Layout Source-code of llvm-project clone with git:https://github.com/llvm/llvm-project.git HEAD detached at llvmorg-9.0.0 After the source-code is downloaded, a directory named ‘llvm-pr...原创 2020-01-15 09:30:21 · 1075 阅读 · 0 评论 -
Look into the mechanism translating from source-code to machine-code in llvm
Look into the mechanism translating from source-code to machine-code in llvm What I aim to do here is follow the various incarnations an “instruction” takes when it goes through LLVM’s multiple compil...原创 2020-01-08 22:00:59 · 963 阅读 · 0 评论 -
What is the effect of "--debug-pass=Structure" option on opt tool?
What is the effect of “–debug-pass” option on opt tool? opt is the LLVM optimizer and analyzer tool that is run on LLVM IR to optimize the IR or produce an analysis about it. We can direct the opt too...原创 2020-01-06 10:05:21 · 357 阅读 · 0 评论 -
Life of an instruction in LLVM
Life of an instruction in LLVM LLVM is a complex piece of software. There are several paths one may take on the quest of understanding how it works, none of which is simple. I recently had to dig in s...转载 2020-01-06 00:12:10 · 603 阅读 · 0 评论 -
The Unwind Process
The Unwind Process The standard ABI exception handling / unwind process begins with the raising of an exception, in one of the forms mentioned above. This call specifies an exception object and an e...原创 2019-12-27 00:17:20 · 277 阅读 · 0 评论 -
What dose the 'DWARF' mean in llvm?
What dose the ‘DWARF’ mean in llvm? It is the backronym ‘Debug With Attributed Record Formats’. DWARF is widely used, standardized debugging data format. It was originally designed along with ELF(Ex...原创 2019-12-26 23:05:48 · 281 阅读 · 0 评论 -
Do you make sense of 'Exception tables' and 'Unwind tables"?
Exception tables are necessary to handle exceptions thrown by functions in high-level languages such as C++. Unwind tables contain debug frame information which is also necessary for the handling ...原创 2019-12-26 21:51:53 · 559 阅读 · 0 评论 -
How to solve ExecutionEngine OprofileJIT compilation error?
How to solve ExecutionEngine OprofileJIT compilation error? My llvm source is HEAD detached at llvmorg-9.0.0. After making llvm cmake project, and compiling it, an error occured. As follow: The way t...原创 2019-12-26 20:21:34 · 221 阅读 · 0 评论 -
How to solve 'undefined reference to llvm::createLowerSwitchPass()' when compiling Obfuscator?
How to solve ‘undefined reference to llvm::createLowerSwitchPass()’ when compiling Obfuscator(llvm-9.0) ? How to solve the problem that an error occurs in Obfuscator(llvm-9.0) compilation, as follow f...原创 2019-12-26 20:18:32 · 1142 阅读 · 0 评论
分享