This shows you the differences between two versions of the page.
cpl:labs:10 [2017/12/05 08:23] bogdan.nitulescu [Exercițiul 1] |
cpl:labs:10 [2017/12/05 08:34] (current) bogdan.nitulescu [Exercițiul 1] |
||
---|---|---|---|
Line 353: | Line 353: | ||
* La execuție folosiți parametrul ''load'' cu calea către noul pass, ex: | * La execuție folosiți parametrul ''load'' cu calea către noul pass, ex: | ||
<code bash> | <code bash> | ||
- | opt -p -mem2reg -load ../llvm-3.6.2/src/Release+Asserts/lib/DCE.so -mydce < test.bc > /dev/null | + | opt -p -mem2reg -load ~packages/llvm-3.8.0/build/lib/libLLVMScalarOpts.a -mydce < test.bc > /dev/null |
</code> | </code> | ||
* Ce observați? | * Ce observați? |