Skip to content

Commit

Permalink
ci: Workaround ASAN ODR failures
Browse files Browse the repository at this point in the history
  • Loading branch information
Chuck Atkins committed May 29, 2020
1 parent 9fbd6ca commit de9970a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/ci/cmake/ci-fedora-asan.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

set(ENV{CC} clang)
set(ENV{CXX} clang++)
set(ASAN_FLAGS "-fsanitize=address -fno-omit-frame-pointer -pthread")
set(ASAN_FLAGS "-fsanitize=address -fno-omit-frame-pointer -pthread mllvm -asan-use-private-alias=1")
set(ENV{ASAN_OPTIONS} "use_odr_indicator=1")
set(ENV{CFLAGS} "${ASAN_FLAGS}")
set(ENV{CXXFLAGS} "${ASAN_FLAGS}")
set(ENV{FFLAGS} "${ASAN_FLAGS}")
Expand Down

0 comments on commit de9970a

Please sign in to comment.