Skip to content

Conversation

@vinser52
Copy link
Contributor

@vinser52 vinser52 commented Feb 25, 2025

Description

This PR fixes Valgrind and TSAN instrumentation.

Ref. #886

Checklist

  • Code compiles without errors locally
  • All tests pass locally
  • CI workflows execute properly

@bratpiorka
Copy link
Contributor

I see that TSAN passed .. maybe there annotation should be placed differently for TSAN and Valgrind?
Also, should we remove some suppressions with this PR?

@lplewa
Copy link
Contributor

lplewa commented Feb 26, 2025

I'm 99% sure that issue is that this two macros are "empty"

#define VALGRIND_ANNOTATE_NEW_MEMORY(p, s) DO_WHILE_EMPTY
#define VALGRIND_HG_DRD_DISABLE_CHECKING(p, s) DO_WHILE_EMPTY

While we should call ANNOTATE_NEW_MEMORY and VALGRIND_HG_DISABLE_CHECKING and ANNOTATE_NEW_MEMORY

@bratpiorka
Copy link
Contributor

@vinser52 I added this code to #1127 so you can close this PR

@vinser52 vinser52 closed this Feb 26, 2025
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.

3 participants