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

Cool, tried out using a CMake module which adds sanitisers for you #153

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

saxbophone
Copy link
Owner

I'll see if this works on Github-actions before making it CI-only. I think we do want it only on CI because it's noticeably slower than normal (but still MUCH faster than Valgrind!)

I'll see if this works on Github-actions before making it CI-only.
I think we do want it only on CI because it's noticeably slower than normal (but still *MUCH* faster than Valgrind!)
Lol, suprise surprise! Valgrind and the Sanitizer don't run well together! :)
MSVC isn't playing ball for some reason, it links but every test fails and I'm not seeing ASAN errors (unless those failures are caused by ASAN --need to troubleshoot this by forcing UB to see how ctest reports it...)
@saxbophone
Copy link
Owner Author

Disabling precompiled headers in the tests also doesn't fix the issue. I think this might be related to arsenm/sanitizers-cmake#25

@saxbophone saxbophone closed this Mar 12, 2023
Maybe the object libraries are compiled only with `tests-config` options rather than options set on the `tests` target itself...
@saxbophone saxbophone reopened this Mar 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant