File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -78,12 +78,12 @@ jobs:
78
78
make ENABLE_JIT=1 clean clean && make ENABLE_JIT=1 ENABLE_UBSAN=1 check -j$(nproc)
79
79
- name : valgrind check (without JIT)
80
80
run : |
81
- make clean && make ENABLE_SDL=0 ENABLE_JIT=0 ENABLE_VALGRIND =1
81
+ make clean && make ENABLE_SDL=0 ENABLE_JIT=0 ENABLE_UBSAN =1
82
82
valgrind --leak-check=full --show-leak-kinds=all --error-exitcode=1 ./build/rv32emu ./build/hello.elf
83
83
valgrind --leak-check=full --show-leak-kinds=all --error-exitcode=1 ./build/rv32emu ./build/aes.elf
84
84
- name : valgrind check (with JIT)
85
85
run : |
86
- make clean && make ENABLE_SDL=0 ENABLE_JIT=1 ENABLE_VALGRIND =1
86
+ make clean && make ENABLE_SDL=0 ENABLE_JIT=1 ENABLE_UBSAN =1
87
87
valgrind --leak-check=full --show-leak-kinds=all --error-exitcode=1 ./build/rv32emu ./build/hello.elf
88
88
valgrind --leak-check=full --show-leak-kinds=all --error-exitcode=1 ./build/rv32emu ./build/aes.elf
89
89
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ CFLAGS = -std=gnu99 -O2 -Wall -Wextra
11
11
CFLAGS += -Wno-unused-label
12
12
CFLAGS += -include src/common.h
13
13
14
- ENABLE_VALGRIND ?= 0
15
14
ifeq ("$(ENABLE_UBSAN ) ", "1")
16
15
# according to gcc's man page: "If you use multiple -O options, with or without level numbers, the last such option is the one that is effective."
17
16
# In order to use Valgrind, we need to compile with -g
You can’t perform that action at this time.
0 commit comments