Skip to content

Commit 26faaff

Browse files
committed
modify run.sh
1 parent 12eff4e commit 26faaff

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

task3/run.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
clang -emit-llvm -c test.c &&
22
clang++ -fPIC -shared -o callhello.so CallHello.cpp Hello.cpp `llvm-config --cxxflags` &&
3-
opt -load ./callhello.so -caller -enable-new-pm=0 test.bc
3+
opt -load ./callhello.so -caller -enable-new-pm=0 test.bc &&
4+
echo "################################################" &&
5+
opt -load ./callhello.so -callee -enable-new-pm=0 test.bc

0 commit comments

Comments
 (0)