Skip to content

Commit

Permalink
Fix #53
Browse files Browse the repository at this point in the history
  • Loading branch information
banach-space authored and Your Name committed Dec 15, 2021
1 parent b9fdaa1 commit 9d5a149
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ to test **InjectFuncCall**:
```bash
export LLVM_DIR=<installation/dir/of/llvm/13>
# Generate an LLVM file to analyze
$LLVM_DIR/bin/clang -O1 -emit-llvm -c <source_dir>/inputs/input_for_hello.c -o input_for_hello.bc
$LLVM_DIR/bin/clang -O0 -emit-llvm -c <source_dir>/inputs/input_for_hello.c -o input_for_hello.bc
# Run the pass through opt - Legacy PM
$LLVM_DIR/bin/opt -load <build_dir>/lib/libInjectFuncCall.so -legacy-inject-func-call input_for_hello.bc -o instrumented.bin
# Run the pass through opt - New PM
Expand Down

0 comments on commit 9d5a149

Please sign in to comment.