-
Notifications
You must be signed in to change notification settings - Fork 13.6k
[tsan] Enable test on linux #99659
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
[tsan] Enable test on linux #99659
Conversation
Created using spr 1.3.4
@llvm/pr-subscribers-compiler-rt-sanitizer Author: Vitaly Buka (vitalybuka) ChangesIt pass as-is on my system. Full diff: https://github.com/llvm/llvm-project/pull/99659.diff 1 Files Affected:
diff --git a/compiler-rt/test/tsan/debug_alloc_stack.cpp b/compiler-rt/test/tsan/debug_alloc_stack.cpp
index 70e9759f0af63..8fbcf232a1ac7 100644
--- a/compiler-rt/test/tsan/debug_alloc_stack.cpp
+++ b/compiler-rt/test/tsan/debug_alloc_stack.cpp
@@ -1,9 +1,6 @@
// RUN: %clangxx_tsan -O0 %s -o %t
// RUN: env %env_tsan_opts=stack_trace_format=DEFAULT %deflake %run %t 2>&1 | FileCheck %s
-// Until I figure out how to make this test work on Linux
-// REQUIRES: system-darwin
-
#include "test.h"
#include <pthread.h>
#include <stdint.h>
|
ping |
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/95/builds/1698 Here is the relevant piece of the build log for the reference:
|
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/176/builds/1440 Here is the relevant piece of the build log for the reference:
|
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/76/builds/1285 Here is the relevant piece of the build log for the reference:
|
This reverts commit 52ebd8d. Missing declaration for gettid() on the buildbot (https://lab.llvm.org/buildbot/#/builders/72/builds/1592) and unfortunately a fix-forward attempt for unistd.h didn't work (de8c4be). Reverting for now.
Summary: It passes as-is on my system. Test Plan: Reviewers: Subscribers: Tasks: Tags: Differential Revision: https://phabricator.intern.facebook.com/D60250714
Summary: This reverts commit 52ebd8d. Missing declaration for gettid() on the buildbot (https://lab.llvm.org/buildbot/#/builders/72/builds/1592) and unfortunately a fix-forward attempt for unistd.h didn't work (de8c4be). Reverting for now. Test Plan: Reviewers: Subscribers: Tasks: Tags: Differential Revision: https://phabricator.intern.facebook.com/D60250634
It passes as-is on my system.