forked from OSchip/llvm-project
[Tsan] Fix comments in the user_fopen.cc and user_malloc.cc tests
Related revision: http://reviews.llvm.org/D5670 llvm-svn: 219481
This commit is contained in:
parent
b30753d731
commit
348758bbca
|
@ -2,7 +2,7 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
// defined by tsan.
|
||||
// Defined by tsan.
|
||||
extern "C" FILE *__interceptor_fopen(const char *file, const char *mode);
|
||||
extern "C" int __interceptor_fileno(FILE *f);
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// RUN: %clangxx_tsan -O1 %s -o %t && %run %t 2>&1 | FileCheck %s
|
||||
#include <stdio.h>
|
||||
|
||||
// defined by tsan.
|
||||
// Defined by tsan.
|
||||
extern "C" void *__interceptor_malloc(unsigned long size);
|
||||
extern "C" void __interceptor_free(void *p);
|
||||
|
||||
|
|
Loading…
Reference in New Issue