summaryrefslogtreecommitdiff
path: root/lib/tsan/rtl/tsan_stat.h
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2013-07-09 09:53:37 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2013-07-09 09:53:37 +0000
commit12eb79dd701d9d40551759330a9257316601373b (patch)
tree7a3e66d5f75441d526072e7ebf1a17eeaa073999 /lib/tsan/rtl/tsan_stat.h
parentcb2509aaa26619d9f0082999bdcb54edbd1246a9 (diff)
[sanitizer] Intercept realpath and canonicalize_file_name.
Handle realpath(path, NULL) form. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185921 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/tsan/rtl/tsan_stat.h')
-rw-r--r--lib/tsan/rtl/tsan_stat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/tsan/rtl/tsan_stat.h b/lib/tsan/rtl/tsan_stat.h
index e57ce8d94..36b298e4d 100644
--- a/lib/tsan/rtl/tsan_stat.h
+++ b/lib/tsan/rtl/tsan_stat.h
@@ -344,6 +344,8 @@ enum StatType {
StatInt_wcsrtombs,
StatInt_wcsnrtombs,
StatInt_tcgetattr,
+ StatInt_realpath,
+ StatInt_canonicalize_file_name,
// Dynamic annotations.
StatAnnotation,