mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #11856 from ethereum/fix-failing-ubsan-nightly-build
UBSan CI: Remove unsigned-shift-base sanitizer flag.
This commit is contained in:
commit
c1242d6409
@ -199,8 +199,8 @@ if (SANITIZE)
|
|||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-omit-frame-pointer -fsanitize=address -fsanitize-address-use-after-scope")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-omit-frame-pointer -fsanitize=address -fsanitize-address-use-after-scope")
|
||||||
elseif (sanitizer STREQUAL "undefined")
|
elseif (sanitizer STREQUAL "undefined")
|
||||||
# The following flags not used by fuzzer but used by us may create problems, so consider
|
# The following flags not used by fuzzer but used by us may create problems, so consider
|
||||||
# disabling them: alignment, pointer-overflow, unsigned-shift-base.
|
# disabling them: alignment, pointer-overflow.
|
||||||
# Flags are alphabetically sorted
|
# Flags are alphabetically sorted and are for clang v10.0
|
||||||
list(APPEND undefinedSanitizerChecks
|
list(APPEND undefinedSanitizerChecks
|
||||||
alignment
|
alignment
|
||||||
array-bounds
|
array-bounds
|
||||||
@ -218,7 +218,6 @@ if (SANITIZE)
|
|||||||
shift
|
shift
|
||||||
signed-integer-overflow
|
signed-integer-overflow
|
||||||
unsigned-integer-overflow
|
unsigned-integer-overflow
|
||||||
unsigned-shift-base
|
|
||||||
unreachable
|
unreachable
|
||||||
vla-bound
|
vla-bound
|
||||||
vptr
|
vptr
|
||||||
|
Loading…
Reference in New Issue
Block a user