mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-16 06:46:33 +00:00
[NFC] Include tsan_interface.h in tests
This commit is contained in:
parent
33789125ca
commit
e520800eda
@ -12,6 +12,7 @@
|
||||
// constructors of the binary which are called after constructors of shared
|
||||
// library.
|
||||
|
||||
#include <sanitizer/tsan_interface.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#if BUILD_SO
|
||||
|
@ -1,5 +1,6 @@
|
||||
// RUN: %clangxx_tsan -O1 %s -o %t && %run %t 2>&1 | FileCheck %s
|
||||
|
||||
#include <sanitizer/tsan_interface.h>
|
||||
#include <stdio.h>
|
||||
|
||||
namespace __tsan {
|
||||
|
@ -1,5 +1,6 @@
|
||||
// RUN: %clang_tsan -O1 %s -o %t && %run %t 2>&1 | FileCheck %s
|
||||
#include <pthread.h>
|
||||
#include <sanitizer/tsan_interface.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#if (__APPLE__)
|
||||
|
@ -1,6 +1,7 @@
|
||||
// RUN: %clangxx_tsan -O1 %s -o %t && %deflake %run %t | FileCheck %s
|
||||
#include "java.h"
|
||||
#include <memory.h>
|
||||
#include <sanitizer/tsan_interface.h>
|
||||
|
||||
#if (__APPLE__)
|
||||
__attribute__((weak)) // Required for dyld macOS 12.0+
|
||||
|
@ -1,6 +1,7 @@
|
||||
// RUN: %clangxx_tsan -O1 %s -o %t && %deflake %run %t | FileCheck %s
|
||||
#include "java.h"
|
||||
#include <memory.h>
|
||||
#include <sanitizer/tsan_interface.h>
|
||||
|
||||
#if (__APPLE__)
|
||||
__attribute__((weak)) // Required for dyld macOS 12.0+
|
||||
|
Loading…
x
Reference in New Issue
Block a user