Skip to content

Commit c1242d6

Browse files
authored
Merge pull request #11856 from ethereum/fix-failing-ubsan-nightly-build
UBSan CI: Remove unsigned-shift-base sanitizer flag.
2 parents a3d8da2 + f57e625 commit c1242d6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

cmake/EthCompilerSettings.cmake

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -199,8 +199,8 @@ if (SANITIZE)
199199
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-omit-frame-pointer -fsanitize=address -fsanitize-address-use-after-scope")
200200
elseif (sanitizer STREQUAL "undefined")
201201
# The following flags not used by fuzzer but used by us may create problems, so consider
202-
# disabling them: alignment, pointer-overflow, unsigned-shift-base.
203-
# Flags are alphabetically sorted
202+
# disabling them: alignment, pointer-overflow.
203+
# Flags are alphabetically sorted and are for clang v10.0
204204
list(APPEND undefinedSanitizerChecks
205205
alignment
206206
array-bounds
@@ -218,7 +218,6 @@ if (SANITIZE)
218218
shift
219219
signed-integer-overflow
220220
unsigned-integer-overflow
221-
unsigned-shift-base
222221
unreachable
223222
vla-bound
224223
vptr

0 commit comments

Comments
 (0)