Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Fix asan on windows (use shared asan lib) #22

Merged
merged 1 commit into from
Dec 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions cmake/build.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ function(libhal_unit_test)
if(${ADDRESS_SANITIZER_SUPPORT})
message(STATUS "${LIBHAL_TITLE} Address Sanitizer available! Using it for tests!")
target_compile_options(unit_test PRIVATE -fsanitize=address)
target_link_options(unit_test PRIVATE -fsanitize=address)
target_link_options(unit_test PRIVATE -fsanitize=address -shared-libsan)
else()
message(STATUS "${LIBHAL_TITLE} Address Sanitizer not supported!")
endif(${ADDRESS_SANITIZER_SUPPORT})
Expand All @@ -144,7 +144,6 @@ function(libhal_unit_test)
target_include_directories(unit_test PUBLIC include tests src
${UNIT_TEST_ARGS_INCLUDES})


target_compile_options(unit_test PRIVATE
--coverage
-fprofile-arcs
Expand Down
2 changes: 1 addition & 1 deletion conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

class libhal_cmake_util_conan(ConanFile):
name = "libhal-cmake-util"
version = "4.1.5"
version = "4.1.6"
license = "Apache-2.0"
homepage = "https://libhal.github.io/libhal-armcortex"
description = ("A collection of CMake scripts for ARM Cortex ")
Expand Down