Skip to content

Commit 1e36609

Browse files
Fixed profiling check
1 parent a05baf4 commit 1e36609

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

aspis.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ run_aspis() {
409409

410410
## Backend
411411
exe $OPT $build_dir/out.ll -o $build_dir/out.ll -S $opt_flags
412-
if [[ -n "$enable_profiling" ]]; then
412+
if [[ "$enable_profiling" == "true" ]]; then
413413
title_msg "ASPIS Profiling"
414414
exe $OPT --enable-new-pm=1 -load-pass-plugin=$DIR/build/passes/libPROFILER.so --passes="aspis-insert-check-profile" $build_dir/out.ll -o $build_dir/out.ll -S
415415
success_msg "Code instrumented."

0 commit comments

Comments
 (0)