When running with options that enable ubsan, define ROCKSDB_UBSAN_RUN which disables ubsan instrumentation for some functions within rocksdb that are false-positives. (#3579)
This commit is contained in:
parent
d9594fcdc4
commit
f1cea6dcc0
1 changed files with 1 additions and 0 deletions
|
@ -253,6 +253,7 @@ else()
|
|||
add_compile_options(-fsanitize=address,undefined)
|
||||
endif()
|
||||
add_definitions(-DED25519_NO_INLINE_ASM)
|
||||
add_definitions(-DROCKSDB_UBSAN_RUN)
|
||||
elseif(${USING_TSAN})
|
||||
add_compile_options(-fsanitize=thread)
|
||||
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue