diff options
author | Diana Picus <diana.picus@linaro.org> | 2017-02-20 15:26:12 +0000 |
---|---|---|
committer | Diana Picus <diana.picus@linaro.org> | 2017-02-20 15:26:12 +0000 |
commit | 7a9a60c4cca6ee77f7f13810865b9351ecdfdadf (patch) | |
tree | 32ed7748f076111d710a1040c66d06cc6c34caad /lib/tsan | |
parent | a5773525358cb1a1f9b1b6b7a1793892f13a7adb (diff) |
Revert "[tsan] Provide external tags (object types) via debugging API"
This reverts commit r295318 as the test is flaky on AArch64.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@295667 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/tsan')
-rw-r--r-- | lib/tsan/rtl/tsan_debugging.cc | 10 | ||||
-rw-r--r-- | lib/tsan/rtl/tsan_interface.h | 4 |
2 files changed, 0 insertions, 14 deletions
diff --git a/lib/tsan/rtl/tsan_debugging.cc b/lib/tsan/rtl/tsan_debugging.cc index 06154bc13..360879481 100644 --- a/lib/tsan/rtl/tsan_debugging.cc +++ b/lib/tsan/rtl/tsan_debugging.cc @@ -128,16 +128,6 @@ int __tsan_get_report_loc(void *report, uptr idx, const char **type, } SANITIZER_INTERFACE_ATTRIBUTE -int __tsan_get_report_loc_object_type(void *report, uptr idx, - const char **object_type) { - const ReportDesc *rep = (ReportDesc *)report; - CHECK_LT(idx, rep->locs.Size()); - ReportLocation *loc = rep->locs[idx]; - *object_type = GetObjectTypeFromTag(loc->external_tag); - return 1; -} - -SANITIZER_INTERFACE_ATTRIBUTE int __tsan_get_report_mutex(void *report, uptr idx, uptr *mutex_id, void **addr, int *destroyed, void **trace, uptr trace_size) { const ReportDesc *rep = (ReportDesc *)report; diff --git a/lib/tsan/rtl/tsan_interface.h b/lib/tsan/rtl/tsan_interface.h index 496a8717f..e02888c63 100644 --- a/lib/tsan/rtl/tsan_interface.h +++ b/lib/tsan/rtl/tsan_interface.h @@ -132,10 +132,6 @@ int __tsan_get_report_loc(void *report, uptr idx, const char **type, int *fd, int *suppressable, void **trace, uptr trace_size); -SANITIZER_INTERFACE_ATTRIBUTE -int __tsan_get_report_loc_object_type(void *report, uptr idx, - const char **object_type); - // Returns information about mutexes included in the report. SANITIZER_INTERFACE_ATTRIBUTE int __tsan_get_report_mutex(void *report, uptr idx, uptr *mutex_id, void **addr, |