This shows you the differences between two versions of the page.
cpl:labs:llvm-pass [2015/12/08 00:25] irina.presa [Integrarea unui pas în LLVM] |
cpl:labs:llvm-pass [2015/12/08 00:32] (current) irina.presa [Integrarea unui pas în LLVM] |
||
---|---|---|---|
Line 135: | Line 135: | ||
* **set(LLVM_LINK_COMPONENTS ${LLVM_TARGETS_TO_BUILD} Analysis CodeGen Hello)** | * **set(LLVM_LINK_COMPONENTS ${LLVM_TARGETS_TO_BUILD} Analysis CodeGen Hello)** | ||
* la fel și pentru ''tools/bugpoint/CMakeLists.txt'' | * la fel și pentru ''tools/bugpoint/CMakeLists.txt'' | ||
- | * ''tools/opt/Makefile'' | ||
- | * se adaugă noul pass în lista | ||
- | * **LINK_COMPONENTS := bitreader bitwriter instrumentation scalaropts ipo hello** | ||
* se crează fişierul ''include/llvm/Transforms/Hello.h'' cu conţinutul | * se crează fişierul ''include/llvm/Transforms/Hello.h'' cu conţinutul | ||
* <code c> | * <code c> |