summaryrefslogtreecommitdiff
path: root/test/tsan
diff options
context:
space:
mode:
authorViktor Kutuzov <vkutuzov@accesssoftek.com>2014-10-10 07:01:52 +0000
committerViktor Kutuzov <vkutuzov@accesssoftek.com>2014-10-10 07:01:52 +0000
commit45d42b10c99e94b31f4d52aa8df715fe3ae0b673 (patch)
tree193d547351dcef470551ac93b9ff52807b2f5860 /test/tsan
parent994b96fe1bfc18765a41fc8263287f6c03196834 (diff)
[Tsan] Fix comments in the user_fopen.cc and user_malloc.cc tests
Related revision: http://reviews.llvm.org/D5670 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@219481 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/tsan')
-rw-r--r--test/tsan/Linux/user_fopen.cc2
-rw-r--r--test/tsan/Linux/user_malloc.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/tsan/Linux/user_fopen.cc b/test/tsan/Linux/user_fopen.cc
index f350a9911..c0ff267ff 100644
--- a/test/tsan/Linux/user_fopen.cc
+++ b/test/tsan/Linux/user_fopen.cc
@@ -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);
diff --git a/test/tsan/Linux/user_malloc.cc b/test/tsan/Linux/user_malloc.cc
index 210677074..c671bfcdd 100644
--- a/test/tsan/Linux/user_malloc.cc
+++ b/test/tsan/Linux/user_malloc.cc
@@ -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);