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 tauClock msan false positive on linux #42

Merged
merged 1 commit into from
Mar 12, 2024
Merged

Conversation

cpradog
Copy link
Contributor

@cpradog cpradog commented Mar 10, 2024

When running a test with memory sanitizer on Linux, a false positive occurs because ts is not initialized.

Minimal example to reproduce (compile with MSan enabled):

#include <tau/tau.h>

TEST(example, some_test) {
  REQUIRE_EQ(1, 1);
}

TAU_MAIN()

When running a test with memory sanitizer on linux a false possitive
occurs because ts is not initialized.
@cpradog cpradog requested a review from jasmcaus as a code owner March 10, 2024 12:49
@jasmcaus jasmcaus merged commit 35e4d97 into jasmcaus:dev Mar 12, 2024
12 of 34 checks passed
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.

2 participants