summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/tsan
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2013-04-08 20:59:44 +0000
committerChandler Carruth <chandlerc@gmail.com>2013-04-08 20:59:44 +0000
commit2b3c00eec7c3bdde322defc11d7bfb4999d89e76 (patch)
tree31ecaa9450ab35908e9f5a967a4ddb5209357def /compiler-rt/lib/tsan
parent2eb1c57b9daf34c578a2fc8078fe5b6ba1786996 (diff)
downloadbcm5719-llvm-2b3c00eec7c3bdde322defc11d7bfb4999d89e76.tar.gz
bcm5719-llvm-2b3c00eec7c3bdde322defc11d7bfb4999d89e76.zip
Revert r179012: "[msan] Intercept glob()."
This was committed without tests and contains obvious bugs. That's not acceptable. It broke address sanitizer for most programs using glob(3). llvm-svn: 179054
Diffstat (limited to 'compiler-rt/lib/tsan')
-rw-r--r--compiler-rt/lib/tsan/rtl/tsan_stat.cc2
-rw-r--r--compiler-rt/lib/tsan/rtl/tsan_stat.h2
2 files changed, 0 insertions, 4 deletions
diff --git a/compiler-rt/lib/tsan/rtl/tsan_stat.cc b/compiler-rt/lib/tsan/rtl/tsan_stat.cc
index f2a3cf42a4d..72e7ee4c3d9 100644
--- a/compiler-rt/lib/tsan/rtl/tsan_stat.cc
+++ b/compiler-rt/lib/tsan/rtl/tsan_stat.cc
@@ -297,8 +297,6 @@ void StatOutput(u64 *stat) {
name[StatInt_getitimer] = " getitimer ";
name[StatInt_setitimer] = " setitimer ";
name[StatInt_time] = " time ";
- name[StatInt_glob] = " glob ";
- name[StatInt_glob64] = " glob64 ";
name[StatAnnotation] = "Dynamic annotations ";
name[StatAnnotateHappensBefore] = " HappensBefore ";
diff --git a/compiler-rt/lib/tsan/rtl/tsan_stat.h b/compiler-rt/lib/tsan/rtl/tsan_stat.h
index 057ffe8d506..aea27843629 100644
--- a/compiler-rt/lib/tsan/rtl/tsan_stat.h
+++ b/compiler-rt/lib/tsan/rtl/tsan_stat.h
@@ -292,8 +292,6 @@ enum StatType {
StatInt_getitimer,
StatInt_setitimer,
StatInt_time,
- StatInt_glob,
- StatInt_glob64,
// Dynamic annotations.
StatAnnotation,
OpenPOWER on IntegriCloud