@@ -254,7 +254,7 @@ def main(isCpp = False, markOnly = False, minimal = False, hammer = False):
254
254
# As the result of link will be instrumented, do not include RUNTIME, etc
255
255
pcall (["llvm-link" , ofiles , oFromAFiles , "-o" , out + ".link.bc" ])
256
256
pcall ([OPT , "-load=" + LLVMCONTECH , "-Contech" , out + ".link.bc" , "-o" , out + "_ct.link.bc" , "-ContechState" , stateFile ])
257
- pcall (["llvm-link" , out + "_ct.link.bc" , RUNTIME , "-o" , out + "_ct.fin.bc" ]);
257
+ pcall (["llvm-link" , out + "_ct.link.bc" , "-o" , out + "_ct.fin.bc" ]);
258
258
pcall (["rm" , "-rf" , TMPARDIR ])
259
259
260
260
# Link in basic block table
@@ -275,7 +275,7 @@ def main(isCpp = False, markOnly = False, minimal = False, hammer = False):
275
275
else :
276
276
#Cilk runtime requires -ldl?
277
277
#Contech runtime requires -lrt and -lpthread
278
- pcall ([CC , out + "_ct.fin.bc" , CFLAGS , "-o" , out , "-lrt" , "-ldl" , "-lpthread" , "contech_state.o" ])
278
+ pcall ([CC , out + "_ct.fin.bc" , RUNTIME , CFLAGS , "-o" , out , "-lrt" , "-ldl" , "-lpthread" , "contech_state.o" ])
279
279
else :
280
280
passThrough (CC )
281
281
0 commit comments